The Working Approach
motion-canvas is a framework reference for writing Motion Canvas scenes in TypeScript. It explains generator-driven sequencing, reactive signals, references and the scene hierarchy, then shows how to combine them with shapes, text, paths and media.
The source includes practical state and timing mechanics: saving and restoring nodes, waiting for named events, running background threads and ending a custom transition. It is useful when an agent already knows the scene to build and needs the correct framework concepts to express it.
Expected Deliverables
- Motion Canvas scene code using the project's existing setup.
- Reusable signals, components and timing sequences.
- A project ready for its configured preview and rendering workflow.
From Brief to Review
- 01Define scene objects
Create the needed shapes and text, assign references and place them in a clear node hierarchy.
- 02Connect state to timing
Use signals for values that change and generator functions for the sequence. Use all() for actions that run together and yield* for a sequence that waits for an animation to finish. Named waitUntil() events can align a scene with a narration cue.
- 03Check transitions and output
Add the incoming scene's nodes before starting slideTransition(), so they do not pop in afterward. A custom useTransition() returns an end function that must be called after the transition animation. Inspect the configured preview or render and preserve project-specific output settings.