Motion Canvas
by motion-canvas
TypeScript library and editor for coding animated videos (explainers, motion graphics, loops) and rendering them to frames or video.
Video references and motion backgrounds Code libraryOpen sourceminimalflatgeometric
1. Price: motioncanvas.io
Fully free.
motioncanvas.ioNo quote yet: price is read from the official pages.
2. Commercial use: raw.githubusercontent.com
“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell”
MIT allows use in paid products and paid videos.
raw.githubusercontent.com3. Credit the author: raw.githubusercontent.com
“The above copyright notice and this permission notice shall be included in all”
No credit on screen. Keep the license notice inside the code you ship.
raw.githubusercontent.com4. Agent access: github.com/motion-canvas/motion-canvas
An agent can install it by itself with npm install @motion-canvas/core. No key or account is needed.
github.com/motion-canvas/motion-canvasLicense checked Nov 5, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error
Motion Canvas: make explainer videos by writing code
Motion Canvas is a free tool for making animated videos, such as explainers and motion graphics, by writing code in TypeScript. You write the steps of the animation, watch a live preview in a browser editor, and line it up with a voice-over. It saves the result as image frames or, with an add-on, as a finished video.
Where you can use it
Explainer videos with a voice-over
Animate a diagram or an idea step by step and time each move to a recorded voice, for a product tour or a lesson.
Animated shapes for social clips
Code a short loop of moving, color-changing shapes for a social post, an intro or a video background.
Animated slides for a talk
Present your animation live like a slide deck, pausing at each step until you press space.
A finished video file from code
Export the animation as an MP4 video ready for YouTube or a website, instead of a folder of single frames.
Animated charts for a report video Idea
Grow bars or lines step by step to explain a number in a monthly update or a pitch video.
Short how-to clips for docs Idea
Show a process, such as how data moves between parts of an app, as a short looping clip in your documentation.
Motion Canvas popularity
Downloads from api.npmjs.org, stars from GitHub, checked Nov 17, 2026. How the Gid Score is calculated
How to start
Tell your AI assistant
“Create a Motion Canvas project pinned to @motion-canvas/core 3.17.2, write a 10-second scene in src/scenes/example.tsx, and add @motion-canvas/ffmpeg so I can render an MP4 from the editor.”
Show codeStep 1 or Step 2
Make sure Node.js 16 or newer is installed, then create a new project and install its packages.
npm init @motion-canvas@latest
npm install
Start the editor and open it in the browser.
npm run serve
Mistakes to avoid
npm init @motion-canvas@latest in a script that must give the same result every timeThe latest tag moves, and an alpha 3.18.0 line also exists on the registry.
import example from './scenes/example?scene'The project file loads scenes through the Vite plugin with this suffix, as in the docs.
The project background cannot be animated.
Elements keep their pixel sizes when only the resolution changes.
Frame export depends on the browser, and WebP may not work in Safari.
License
MIT license. Free for personal and paid work, including videos you sell. Keep the copyright notice when you share the code; fonts, images and sounds you add keep their own licenses.
“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell” raw.githubusercontent.com
“The above copyright notice and this permission notice shall be included in all” raw.githubusercontent.com
“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell” raw.githubusercontent.com
“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell” raw.githubusercontent.com
AllowedWith conditionsNot allowedNot stated or not checked yet
Is Motion Canvas free for commercial use? The full answer Not legal advice. Check the license page before you ship.
For your agent
License rules tell your agent what it may do with Motion Canvas. Paste them into your prompt or AGENTS.md.
- Motion Canvas (Video references and motion backgrounds, Video assembly and rendering, Web animation examples and effects). TypeScript library and editor for coding animated videos (explainers, motion graphics, loops) and rendering them to frames or video. Price: free; commercial use OK; no credit needed. Style: minimal, flat, geometric.
Connect: npm @motion-canvas/core.
Get files: npm init @motion-canvas@latest (pin a version), write scenes in TypeScript, render from the editor (ts, mp4, png).
Rule: Keep the MIT notice if you redistribute the code.
Rule: Fonts, images and audio you put in a scene keep their own licenses.
License: https://raw.githubusercontent.com/motion-canvas/motion-canvas/main/LICENSE (checked 2026-11-05; details: https://agentgid.com/assets/motion-canvas/)
Agent installs a package or loads it from a CDN.
npm install @motion-canvas/coreFormats: ts, mp4, png
Animated with Motion Canvas (MIT)Alternatives
Motion Canvas This page
Pick Revideo, a fork of Motion Canvas, when you need videos rendered on a server from data, without the editor.
Pick Remotion to make videos with React components; it is free only for individuals and companies of up to 3 people.
Pick Manim when you prefer Python for math-style explainer animations.
Hundreds of official three.js WebGL/WebGPU examples (shaders, particles, post-processing, loaders) with full source in the repo's examples folder.
Gallery of React Three Fiber scenes (shaders, portals, caustics, scroll, physics, glass) linked to runnable sandboxes with source.
Questions
Do I need to know how to code?
Yes. You write the animation in TypeScript or JavaScript; the editor adds a live preview and audio timing.
Can it make an MP4 directly?
Yes, with the Video (FFmpeg) exporter. It installs FFmpeg for you; without it you get image frames to join yourself.
Can I add a voice-over or music?
Yes. Import an audio file in project.ts, and the editor shows it as a track you can shift in time.
Is it free for paid client videos?
Yes. It is MIT licensed, which allows use, changes and selling.