SVG Animation Types and Options
All four animation types, every easing, stroke styling and the scroll trigger options of the SVG Animation element.
Animation types (same drawing, 2 s)
Sync: all paths together
Delayed: staggered starts, shared duration (stagger 250 ms)
One by one: each waits for the last (stagger 100 ms)
Scenario sync: constant speed
Easing (hover each to replay)
Linear
Ease
Ease in
Ease out
Ease in out
Styling the strokes
Stroke colour teal, width 4
Stroke colour orange, fill pale
Large size 220 px
Scroll triggers
Scroll down past the spacer, then back up. The first drawing plays once; the second replays every time it re-enters. The third waits until the whole drawing is visible (threshold 1).
Scroll spacer
Triggered by scrolling
Once only (Animate once on)
Replays on every re-entry (Animate once off)
Full visibility threshold 1
Settings used
Animation type, Duration, Stagger and Easing sit in the Settings group. Stagger applies to Delayed and One by One only.
Scenario sync keeps one drawing speed, so longer paths take longer.
Stroke colour, stroke width, fill, width and height sit above the Settings group.
Animate on scroll adds Viewport threshold (0 to 1) and Animate once. With Animate once off the drawing resets and replays each time it re-enters.
Draw on hover replays the drawing each time the pointer enters it.