motion-canvas

Ochiq manbalardan

Motion Canvas — generatorlar yordamida vektor animatsiyalarini yaratish va ularni ovoz bilan sinxronlash uchun ochiq manbali TypeScript kutubxonasi va muharriri.

KutubxonaKategoriya: Kutubxonalar va SDK · Animatsiya va 3DOpen sourcemaʼlumot tekshirilgan: 15-okt, 2026

Sharh

Tushunarli vektor animatsiyalarini yaratish odatda vaqt jadvali bilan kurashish va kalit kadrlarni qo‘lda joylashtirishni anglatadi, ularni izoh matni bilan sinxronlash esa yanada murakkab. Motion Canvas animatsiyalarni TypeScript generator funksiyalari yordamida kod sifatida yozish imkonini beradi va natijani real vaqtda muharrirda ko‘rsatadi. Loyiha ikki qismdan iborat: animatsiyalarni dasturlash uchun TypeScript kutubxonasi va jonli oldindan ko‘rish muharriri. Muharrirda animatsiyaning ayrim parametrlarini kodni tahrirlamasdan to‘g‘ridan-to‘g‘ri o‘zgartirish mumkin. 2d paketi ikki o‘lchovli grafika uchun standart renderni taqdim etadi. Vosita tushuntirish videolari va texnik vizualizatsiyalar yaratadigan dasturchilar hamda o‘qituvchilar uchun mo‘ljallangan. Loyiha MIT litsenziyasi ostida tarqatiladi, Vite bilan ishlaydi, yangi loyihalar esa create paketi orqali yaratiladi. Hissa qo‘shmoqchi bo‘lganlar uchun README monorepo paketlari va mahalliy ishlab chiqish tartibini batafsil tavsiflaydi.
  • animation
  • presentation
  • visualization

Oʻrnatish

Buyruqlar faqat koʻrsatiladi, marketpleys ularni bajarmaydi. Rasmiy hujjatlar bilan solishtiring.

Moslik

«Nomaʼlum» dalil topilmaganini bildiradi, mahsulot mos emasligini emas.
PlatformaHolatArxitekturaDalilIshonchlilik
Node.jsNomaʼlum———
PythonNomaʼlum———
JVMNomaʼlum———
.NETNomaʼlum———
WebAssemblyNomaʼlum———
Web browserNomaʼlum———

Relizlar

tekshirilgan: 29-okt, 2026
v3.17.2Oxirgi14-dek, 2024Rasmiy manba ↗

3.17.2 versiyasi fayllari

Relizga fayllar biriktirilmagan.

Relizlar tarixi

Sifat profili

algoritm quality-v1.0 · baholangan 15-okt, 2026
Sifat bahosi88
Xavf bahosi0
Ishonchlilik 1.00
Sifat bahosi va xavf bahosi — turli koʻrsatkichlar. Yuqori sifat xavfsizlikni kafolatlamaydi.

Baho tarkibi

Qoʻllab-quvvatlash · 2012
last activity 105 days ago
Hujjatlar · 1515
README 5248 chars, description present
Foydalanishga tayyorlik · 1515
install instructions: yes; releases: yes
Metamaʼlumotlar · 1010
4/4 of description, homepage, license, topics
Relizlar · 106
10 release(s), latest 607 days ago
Kategoriya aniqligi · 1010
classifier confidence 1
Ommaboplik · 1010
19345 stars (log-dampened, 10k = max)
Litsenziya aniqligi · 55
SPDX MIT
Hamjamiyat · 55
issues enabled, 842 forks

Litsenziya

MIT
Litsenziya maʼlumrepozitoriy xostingi maʼlumotlariga koʻra

Bu katalog siyosati holati, yuridik xulosa emas.

Manbalar

github.com/motion-canvas/motion-canvasAsosiy★ 19 345 yulduzfaollik: 2-iyl, 2026Asosiy repozitoriy · Ishonchlilik 1.00

Sharhlar

Sharh yozish uchun kiring

Hali sharhlar yoʻq.

Muqobillar

README

motion-canvas/motion-canvas dan · litsenziya MIT · yuklangan 29-okt, 2026

Motion Canvas

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 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.
docsOur documentation website.
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/ <- your local monorepo
└── my-project/ <- a bootstrapped project
    └── package.json

You can link the local packages from the monorepo by updating the package.json of your project. Simply replace the version with a file: followed by a relative path to the package you want to link:

  "dependencies": {
-   "@motion-canvas/core": "^3.11.0",
+   "@motion-canvas/core": "file:../motion-canvas/packages/core",
    // ...
  },

If you're linking the ui package, you'll also need to modify vite.config.ts to allow vite to load external files:

import {defineConfig} from 'vite';
import motionCanvas from '@motion-canvas/vite-plugin';

export default defineConfig({
  server: {
    fs: {
      // let it load external files
      strict: false,
    },
  },
  plugins: [motionCanvas()],
});

This is necessary because the editor styles are loaded using the /@fs/ prefix and since the linked ui package is outside the project, vite needs permission to access it.

Then run npm install in to apply the changes and that's it.

You can use the same technique to test out any custom package you're working on.

Contributing

Read through our Contribution Guide to learn how you can help make Motion Canvas better.

Repozitoriyni ochish ↗