Skip to content

Commit 9cbe166

Browse files
Shaders: Add details on Implicit Animated (#504)
Co-authored-by: Pooja Bhaumik <pbhaumik26@gmail.com>
1 parent 91cf150 commit 9cbe166

1 file changed

Lines changed: 58 additions & 0 deletions

File tree

docs/ff-concepts/animations/shaders.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,68 @@ Time Animation Behavior controls how a shader animates over time. It defines whe
216216

217217
The shader animates automatically in a smooth, endless loop with no setup required. This is ideal for ambient effects like animated backgrounds, gradients, or subtle motion that should always be running.
218218

219+
:::tip
220+
221+
You can have the **Time Animation Behavior** set to **Continuous** while the widget is [**Implicit Animated**](#implicit-animated). This allows the animation to run continuously while still enabling you to control specific parameters when needed.
222+
223+
<div style={{
224+
position: 'relative',
225+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
226+
height: 0,
227+
width: '100%'}}>
228+
<iframe
229+
src="https://demo.arcade.software/SghJGpZwuglC7HPwfhUz?embed&show_copy_link=true"
230+
title=""
231+
style={{
232+
position: 'absolute',
233+
top: 0,
234+
left: 0,
235+
width: '100%',
236+
height: '100%',
237+
colorScheme: 'light'
238+
}}
239+
frameborder="0"
240+
loading="lazy"
241+
webkitAllowFullScreen
242+
mozAllowFullScreen
243+
allowFullScreen
244+
allow="clipboard-write">
245+
</iframe>
246+
</div>
247+
<p></p>
248+
249+
:::
250+
219251
### Implicit
220252

221253
You control the shader’s animation manually using a **Time** slider [0–10]. This is useful when you want to connect the animation to app state or user interaction, such as syncing it with scroll position, triggering it through actions, or freezing the effect at a specific point in time.
222254

255+
<div style={{
256+
position: 'relative',
257+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
258+
height: 0,
259+
width: '100%'}}>
260+
<iframe
261+
src="https://demo.arcade.software/0DRRv5qFpgdbFHyz989C?embed&show_copy_link=true"
262+
title=""
263+
style={{
264+
position: 'absolute',
265+
top: 0,
266+
left: 0,
267+
width: '100%',
268+
height: '100%',
269+
colorScheme: 'light'
270+
}}
271+
frameborder="0"
272+
loading="lazy"
273+
webkitAllowFullScreen
274+
mozAllowFullScreen
275+
allowFullScreen
276+
allow="clipboard-write">
277+
</iframe>
278+
</div>
279+
<p></p>
280+
223281
### Explicit
224282

225283
Provides full control over the animation timeline. You can define how the animation plays by configuring properties like duration, delay, easing curve, looping, and direction. This mode is useful for choreographed animations that need to start, stop, or respond to events using a **Shader Animation** action.

0 commit comments

Comments
 (0)