Giter Site home page Giter Site logo

inlove2010 / motion-canvas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from motion-canvas/motion-canvas

0.0 0.0 0.0 6.14 MB

Visualize Your Ideas With Code

Home Page: https://motioncanvas.io

License: MIT License

Shell 0.02% JavaScript 2.68% TypeScript 78.14% CSS 1.67% HTML 0.74% SCSS 2.33% MDX 14.42%

motion-canvas's Introduction


Motion Canvas logo

published with lerna powered by vite npm package version discord


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:

Name Description
core All logic related to running and rendering animations.
2d The default renderer for 2D motion graphics
create A package for bootstrapping new projects.
docs Our documentation website.
e2e End-to-end tests.
examples Animation examples used in documentation.
player A custom element for displaying animations in a browser.
template A template project included for developer's convenience.
ui The user interface used for editing.
vite-plugin A 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 Core & 2D

When developing the core, start both core:dev and template:dev.

This will pick up any changes you make to the core package, automatically rebuild the template project and refresh the page.

Similarly, when developing the 2D package, start 2d:dev and template:dev.

Developing UI

If you want to develop the UI, first build the template project by running: template:build. Next, start ui:dev.

Developing Player

Like with UI, to develop the player, first build the template: template:build. Then, start player:dev.

Contributing

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

motion-canvas's People

Contributors

aarthificial avatar github-actions[bot] avatar semantic-release-bot avatar ksassnowski avatar ross-esmond avatar motion-canvas-bot avatar tandashi avatar ashishbarvaliya avatar waldemarlehner avatar demipixel avatar hhenrichsen avatar exdeejay avatar gmile avatar gustavneustadt avatar rtkid-nt avatar squigglesdev avatar logon27 avatar levirs565 avatar whydoubt avatar guifeliper avatar ehrenmurdick avatar danielbreiner avatar cyklan avatar doctorbracewell avatar hofstee avatar thomsr avatar therealtimhawkins avatar tomatechgames avatar dshukertjr avatar secondthunder avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.