Motion Cues

Threshold-based event detection for Motion MotionValue animations. Subscribe once. Get onEnter / onExit callbacks when a value crosses named thresholds.

$pnpm add motion-cues
Get Started View Demos

Threshold-Based

Named thresholds on any value. Callbacks on enter/exit.

Zero Overhead

No RAF loops. No re-renders until you opt in.

Composable

Chain cues. Aggregate observers with CueBus.

Demo 01

FPS Health Bar

Open

Videogame parallelogram vitals HUD with cue-driven damage, pulse, and moving armor segments

loading cue…

Demo 02

Dashboard

Open

Real-time data simulation with cue-driven sparklines

loading cue…

Demo 03

Terminal

Open

Sequential cue-driven output with phase indicators

loading cue…

Demo 04

Blast Shapes

Open

Interactive shape field with shockwave rings and drag physics

loading cue…

Demo 05

Nav Morph

Open

Navigation bar morphing with sliding indicator

loading cue…

Demo 06

Card Stack

Open

3D spatial choreography with depth and rotation

loading cue…

Demo 07

Audio Sync

Open

Three.js FFT particle field driven by arrangement, bass, drums, lead, and CueBus events

loading cue…

Demo 08

Orchestra

Open

Conductor-style cue choreography with rings, lanes, waveforms, and event routing

loading cue…

Demo 09

Shape Morph

Open

SVG path interpolation driven by cue thresholds

loading cue…