Motion safety in automated video: a calm variant
Flashing, swinging and auto-playing motion can hurt viewers. How to audit flash thresholds, budget movement, and ship a reduced-motion variant from one template.
A template that bounces a price into frame looks friendly in the Studio. Then it runs 4,000 times, autoplays in a feed between two news stories, and loops every 1.8 seconds. Nothing failed — the motion was never reviewed as a safety property. This is how to measure it, budget it, and publish a calm variant.
A template that looks calm in the Studio
A price card bounces in, holds for two seconds, and leaves with a soft spin. In the Studio it reads as friendly and quick. Six weeks later the same template runs 4,000 times for a seasonal sale, and the variants land in a feed between two news stories, autoplay silently, and loop. One row has a longer headline, so the card grows, the pulse behind it brightens, and the loop restarts every 1.8 seconds. Nothing failed. No render errored, no review flagged it, and no one watched variant 3,217.
That is the specific risk of automated video: motion is decided once, in the template, and then repeated at a scale where nobody is sitting in front of the file. Motion safety is therefore not a taste question to settle in a design critique. It is a property of the template, like the safe area or the audio level, and it can be checked before the batch runs.

Flashes are measured, not judged
The hard limit is older than most design systems. WCAG 2.2 success criterion 2.3.1 (Level A) says content must not flash more than three times in any one second, or must stay below the general flash and red flash thresholds. A general flash is a pair of opposing changes in relative luminance of at least 10% of full scale where the darker state is below 0.80 relative luminance. The pair counts when the flashing area is large enough: more than 25% of a 10-degree visual field, which the specification estimates as 341 × 256 CSS pixels, or 87,296 square pixels, at a typical desktop viewing distance.
Two consequences matter for rendered clips. First, brightness is the variable, not colour alone: a full-frame cut from black to orange is a luminance change, and so is a white flash frame inserted at a scene change. Second, saturated red is tested separately, because red flashing is more provocative than other colours; WCAG 2.2 adds a working definition based on R/(R + G + B) of 0.8 or more. A design that never uses pure red can still fail on a red-tinted gradient.
| Criterion | Level | What it covers | Rule for a render template |
|---|---|---|---|
| 2.3.1 Three Flashes or Below Threshold | A | Anything that flashes on the page, including video and animated images | At most 3 luminance cycles per second, or swing and area below the thresholds |
| 2.2.2 Pause, Stop, Hide | A | Moving or auto-updating content that starts by itself, lasts over 5 seconds and sits next to other content | A visible pause or stop control, or no autoplay loop |
| 2.3.3 Animation from Interactions | AAA | Non-essential motion started by a click, hover or scroll | Respect the reduced-motion preference and offer a calm file |
| 1.4.2 Audio Control | A | Sound that starts automatically and plays for more than 3 seconds | Start muted, or require a user action |
The levels matter for prioritisation, not for dismissal. 2.3.1 is the one that can cause a seizure and is a Level A requirement; 2.3.3 is AAA, but vestibular reactions such as dizziness, nausea and migraines are the reason it exists, and they are common enough that operating systems ship a switch for them. A rendered MP4 cannot read that switch. The page or player around it has to choose a different file, or not autoplay at all.
Where a safe preset turns into an unsafe render
JsonCut's motion model animates ordinary layer properties: position, scale, rotation, opacity, blur, size and colour, with keyframe times in fractional seconds relative to the layer. Entrance and exit presets write normal keyframe tracks, so a preset chosen in the Studio is exactly the motion that the API renders later. Behaviors such as Float, Pulse, Spin, Swing or Wiggle run without keys, and easing curves include Bounce and Elastic.
None of that is dangerous by default. The risk comes from combinations that are invisible when you look at a single frame:
| Pattern | Where it usually enters | Why it crosses a line | Cheaper fix |
|---|---|---|---|
| Pulse or glow looping faster than 0.34 s per cycle | Behavior preset on a background shape | 3 or more full luminance cycles per second over a large area | Slow the cycle to 0.5 s and keep the swing under 10% |
| Cut to white between scenes | Transition chosen for energy | A full-frame luminance jump, repeated at every cut | Cut to a mid-grey dip, or hold a hard cut with no white frame |
| Bounce or elastic easing on a full-bleed card | Easing preset applied to scale | Rapid acceleration changes on a large object; uncomfortable rather than unsafe | One overshoot of 4–8% scale over at least 0.6 s |
| Spin on a full-screen product shot | Behavior preset | Whole-frame rotation is a strong vestibular trigger | Reserve spins for icons or small badges |
| Wiggle on text or a logo | Behavior preset | High-frequency jitter that reads as flicker at small sizes | Remove it for anything that carries the message |
| Loop shorter than 2 s | Export setting for social | Every restart is a jump cut; the loop is what viewers actually see | Loop at 6–10 s, or export a still image instead |
Three counts that decide the case
You do not need a lab to catch the obvious failures. Three numbers cover most of it, and all three can be read from the template and a short proxy render.
Cycle time
A flash is a pair of opposing changes, so one full brightness cycle is one flash. At 3 flashes per second the shortest allowed cycle is about 0.33 s; anything with a period below that is over the limit before area is even considered. A Pulse behavior set to a 0.2 s cycle produces five cycles per second. At 30 fps that is six frames per cycle, which is exactly the range that looks like a strobe rather than a breath.
Luminance swing
Sample the flashing region across the cycle and compute relative luminance, not RGB distance. A change from 0.72 to 0.78 is a 6% swing and passes; from 0.60 to 0.85 it is 25% and counts, provided the darker state is below 0.80. Extract frames with FFmpeg at the native frame rate, average a fixed rectangle, and compare consecutive pairs. A dedicated analyzer such as the Trace Center's Photosensitive Epilepsy Analysis Tool does the same job with the full threshold logic, including red flashes; for a template library it is worth running once per motion preset rather than once per article.
Area and colour
The area test is what saves many designs. A small badge that pulses quickly may stay below the threshold because its flashing area is far smaller than a 10-degree field, while the same animation applied to a full-bleed background fails immediately. On a full-screen player, a full-frame flash is always large. Check red separately: a saturated red transition can fail where the luminance swing alone would pass.
Budget motion in three tiers
Templates multiply, so it helps to decide the tier once per placement instead of arguing per asset. The tiers below are editorial guidance, not a platform specification.
| Tier | What moves | Where it belongs | Example |
|---|---|---|---|
| Calm | Opacity fades only, no translation larger than a few pixels, hard cuts | Autoplay feeds, accessibility variants, anything next to body text | Headline fades in over 0.3 s, image cuts |
| Standard | One entrance move up to about 40 px, scale 100 → 104% over 0.6 s or more, no loop | Most paid social and product cards | Card rises 24 px and settles |
| Expressive | Multi-layer parallax, rotation, bounce, transitions | User-initiated playback, full-screen, never autoplaying | Launch film behind a play button |
The tier is a property of the placement, not of the brand. A brand that feels energetic in a launch film can still ship a calm cut for the feed without changing its identity; the type, colour and layout carry the brand, and the motion carries the context.
One project, two published versions
The practical answer is a second published version of the same project, not a setting inside one template. Templates are version-pinned, and a bulk batch is pinned to one immutable template version, so a variant cannot be patched mid-run. Publishing a calm cut as its own template version, with identical input IDs, means the same CSV feeds both: one column set, two template IDs, two batches, and a distinct idempotency key per variant so a retry does not duplicate a row.
What changes in the calm version is small and mechanical:
- Position and scale tracks become opacity-only fades.
- Behavior presets (Pulse, Spin, Wiggle, Swing) are removed rather than slowed.
- Transitions become cuts or dips no longer than 300 ms.
- Loops are removed, or kept at 5 seconds or more with a pause control on the page.
- The red accent stays, but no red-to-white transition is used at cut points.
A boolean input can change a value in a template, but it does not retime a keyframe track. If the motion has to disappear, the calm version has to be a published design.
Pre-flight checklist for every motion template
Run this once per template version, and again whenever a preset, easing curve or transition changes. Record the result with the version number so the next person does not have to guess.
| Check | How | Pass condition |
|---|---|---|
| Fastest luminance cycle | Read keyframes and behavior periods; convert to cycles per second | 3 or fewer per second |
| Luminance swing | Sample frames in the changing region, compute relative luminance | Below 10%, or darker state at or above 0.80 |
| Flashing area | Measure the region that changes, at final display size | Below 25% of a 10-degree field |
| Red flash | Inspect saturated red transitions separately | Below the red threshold |
| Autoplay | Check whether the clip starts by itself and runs over 5 s | Pause control, or no autoplay |
| Loop | Watch the loop point at least three times | No jump cut that reads as a flash |
| Calm variant | Compare with the calm template | Same input IDs, calmer motion, same message |
Put the motion spec next to the file name
A motion review that lives in a chat thread is worth nothing six months later. Add three fields to the manifest you already keep for renders: the motion tier, the fastest cycle in cycles per second, and the template version the clip came from. That is enough to answer the only question that matters after an incident: which files came from the version that pulsed at 5 Hz?
The same logic applies to review. A frame-by-frame pass catches composition errors, and a short proxy played at normal speed catches motion problems that stills cannot show. Pair the motion check with the review gate you already run for output quality, and with the loudness check for audio, so a single sign-off covers what a viewer actually experiences.
What to do this week
- List every template that animates brightness, scale or rotation, and mark the ones that autoplay.
- Compute the fastest cycle for each: one divided by the period in seconds.
- Render a 3-second proxy for the three riskiest templates and sample the luminance of the changing region.
- Publish a calm version of the worst offender with the same input IDs, and route autoplay placements to it.
- Add the motion tier and fastest cycle to the manifest, then schedule the checklist for the next template change.
Motion is one of the few parts of a rendered asset that can hurt someone before they have decided to watch. Treating it as a template property, with a measured cycle, a bounded swing and a calm variant, keeps the automation honest without making the work dull.
Sources
- W3C, Understanding SC 2.3.1 Three Flashes or Below Threshold, WCAG 2.2:
https://www.w3.org/WAI/WCAG22/Understanding/three-flashes-or-below-threshold.html— general and red flash thresholds, 25% of a 10-degree field, 87,296 CSS pixels reference (abgerufen 30.11.2026) - W3C, Understanding SC 2.2.2 Pause, Stop, Hide, WCAG 2.2:
https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide.html— five-second rule and pause mechanism for automatic movement (abgerufen 30.11.2026) - W3C, Understanding SC 2.3.3 Animation from Interactions, WCAG 2.2:
https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions.html— interaction-triggered motion and user-preference options (abgerufen 30.11.2026) - W3C, Understanding SC 1.4.2 Audio Control, WCAG 2.2:
https://www.w3.org/WAI/WCAG22/Understanding/audio-control.html— autoplaying sound longer than three seconds (abgerufen 30.11.2026) - MDN Web Docs, prefers-reduced-motion CSS media feature:
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion— widely available since January 2020; scaling and panning large objects as vestibular triggers (abgerufen 30.11.2026) - Trace Center, Photosensitive Epilepsy Analysis Tool (PEAT):
https://trace.umd.edu/peat/— flash analysis with general and red thresholds (abgerufen 30.11.2026) - JsonCut Docs, Motion, keyframes and transitions:
https://jsoncut.com/docs/create/motion-and-transitions/— property tracks, behaviors, easing curves (abgerufen 30.11.2026) - JsonCut Docs, Typed templates and bulk rendering:
https://jsoncut.com/docs/templates/— version-pinned templates, typed inputs, batch limits (abgerufen 30.11.2026)