AI Card Bao CACTI.AICARDBAO.COM
Home / open source / Motion Canvas
AI TOOL / #12928

Motion Canvas

A programming animation library that uses code to visualize creative ideas, enabling the creation of explanatory videos and dynamic visuals through code.

Introduction

Motion Canvas is two things:

  • A TypeScript library that uses generators to program animations.
  • An editor providing a real-time preview of said animations.

It's a specialized tool designed to create informative vector animations and synchronize them with voice-overs.

Aside from providing the preview, the editor allows you to edit certain aspects of the animation which could otherwise be tedious.

Using Motion Canvas

Check out our [getting started][docs] guide to learn how to use Motion Canvas.

Developing Motion Canvas locally

The project is maintained as one monorepo containing the following packages:

NameDescription
2dThe default renderer for 2D motion graphics
coreAll logic related to running and rendering animations.
createA package for bootstrapping new projects.
docs[Our documentation website.][docs]
e2eEnd-to-end tests.
examplesAnimation examples used in documentation.
internalInternal helpers used for building the packages.
playerA custom element for displaying animations in a browser.
templateA template project included for developer's convenience.
uiThe user interface used for editing.
vite-pluginA plugin for Vite used for developing and bundling animations.

After cloning the repo, run npm install in the root of the project to install all necessary dependencies. Then run npx lerna run build to build all the packages.

Developing Editor

When developing the editor, run the following command:

npm run template:dev

It will start a vite server that watches the core, 2d, ui, and vite-plugin packages. The template package itself contains a simple Motion Canvas project that can be used during development.

Developing Player

To develop the player, first build the template: npm run template:build. Then, start npm run player:dev.

Installing a local version of Motion Canvas in a project

It can be useful to install a local version of Motion Canvas in a standalone project. For example, when you want to use your own fork with some custom-made features to create your animations.

Let's assume the following project structure:

projects/
├── motion-canvas/
Visits:73 Updated:2026-12-05 AI tools

Related

3D cartoon avatar Peeps' free 3D cartoon avatar online generator is commercially available and is very simple to use. Elements such as background color, skin, facial features, clothes and accessories can be adjusted, or one can be randomly generated. The website is in English and requires registration and login before downloading. It can save 1000*1000px size Android flash collection Gameplay Resource Collection Gameplay Resource Collection This website collects the tools and methods required for Android phone system playback and flashing. This website was established by Coolan boss @陈尊江, and includes basic flashing tools, mobile phone unlocking official website address, Android phone firmware, TWRP, Magisk, and ROOT playing tools Portable Cloud USB Drive At 22:24:40 on December 14, 2023, this method became invalid; only the introductory article remains. When it comes to transferring files to unfamiliar computers or printing them out at a print shop, most people likely use a USB flash drive or rely on cloud storage services/social media accounts for online file transfer. However, you might not have a USB flash drive available, or you may have forgotten to bring it with you. Tencent Lemon Selection Tencent Lemon Selection is a software resource website launched by Tencent, which features a collection of free, genuine, and high-quality Mac products. If you’re looking for free and legitimate Mac software, this is the right place to start! All installation packages have undergone security scanning and verification by Tencent, so you can use them with confidence. Regular expression library any-rule is a powerful, open-source library of commonly used regular expressions. It currently includes 82 commonly used regex validation patterns, such as mobile phone number validation, ID card number validation, unified social credit code validation, and Chinese and English character validation. Regular expressions are hard to remember offhand, so we just look them up when we need them. Kosumi Hiraoka Sound Effects “Kosumi Hei’s Free Download Sound Effects” is, as the name implies, a website that allows users to download various sound effects for free. The design of the website is quite artistic and simple; it was created by a Japanese person named Kosumi Hei. All the free sound effects available on this website can be used in projects of your choice, such as films, short videos, games, presentations, animations, or stage performances.