Skip to content

⚠ Early release: v0.3.2.sophistry is not ready for production use. Until 1.0, any minor release may break the API; expect missing features and bugs too.Stability and versioning

Animations

Animations in sophistry are values you compose: presets such as fadeIn, draw and morph write tracks and take { duration, delay, easing }, sequence, parallel and lagged combine them, and a player’s play or timeline runs the result on the stage’s clock (usePlayer() in a component, scene.play without one). Springs (springTo, follow) sit alongside the tweens. Because every animation is seekable, the same script can be played, paused or scrubbed.

Tweens and effects shows the presets one at a time; start there with FadeAndGrow. Sequencing and timelines combines them and drives them from a slider.

Tweens and effects

Entrances, easing, writing, morphs, emphasis and motion along paths.

Sequencing and timelines

Composing animations, scrubbing, chapters and custom animations.