The repository for the source code of the Motion Canvas Animation featured on NGs YouTube channel.
- Node.js - JavaScript runtime built on Chrome's V8 JavaScript engine.
- npm - Package manager for JavaScript.
- Clone the repository.
git clone https://github.com/NGsHjodra/motion_canvas_projects.git
- Navigate to the project folder:
cd motion_canvas_projects
- Install dependencies:
npm install
- Start the development server:
npm run serve
- Open the project in your browser at http://localhost:9000/
-
Find the project you want to display in the
src/projects
folder. -
Open the
vite.config.js
file. -
Add the name of the project you want to display to the
projects
array.
'./src/projects/that_project.ts',
- Save the file.
npm update --save @motion-canvas/2d @motion-canvas/core @motion-canvas/ui @motion-canvas/vite-plugin