TypeScript library and editor for programmatic animated videos
open sourceMITfree
Motion Canvas is a TypeScript library for programming animations, with a web-based editor that previews them in real time. You write scenes as generator functions that describe step by step what happens, focusing on durations and easing rather than keyframes, and the Vite-powered preview updates as you save. The editor lets you sync the animation with audio, such as a voice-over, by placing named events on a timeline, and edit other parts that would be tedious in code, then render the result. It's made for informative vector animations like explainer videos, and its packages include a 2D renderer, a project generator and a player custom element for showing animations in a web page.
Problems it solves
- make an animated explainer video with code instead of a timeline editor
- sync code-driven animations with a voice-over
- create vector animations in TypeScript with a live preview
Features
- animations written as TypeScript generator functions
- real-time preview with Vite
- web-based editor
- timeline events to sync with audio
- 2D vector renderer
- player custom element for web pages
- project generator
Alternatives
The same job
These do what Motion Canvas does.
- Manim Community Edition An animation engine for explanatory math videos
- ManimGL Animation engine for explanatory math videos, the original Manim by 3Blue1Brown
- motlab A video engine where every scene is code, and an agent skill that writes the scenes for you.
- Remotion Make videos programmatically with React
