Getting Started
- Go into the video-animations directory
- Type
npm init @motion-canvas@latest- Choose Video (FFmpeg) as the exporter
- Go into the folder it just made
- Install the text highlighter
npm i @lezer/javascript - Run
npm installand thennpm startto start the editor, viewable in a browser
Manually using ffmpeg
- Run this inside the project
npm install --save @motion-canvas/ffmpeg - Pick Video (FFmpeg) as the exporter
See Animating Code for instructions