A beginner friendly math animation library for p5.js
p5.teach.js provides tools for teaching through p5.js, such as functions to animate text, TeX, and shapes.
- Yarn should be preinstalled
- Run
yarn install
for installing the dependencies - Run
yarn dev
for running the dev environment - As the code is updated, the final js file is updated in
dist/p5.teach.js
dynamically - The sketch in the
index.html
file is reflected with the changes
- We use
TypeDoc
- Run
yarn typedoc src
for generating docs
- We use
jest
for testing - Run
yarn test
for running tests - Tests are in
src/test
- Before submitting PR, run
yarn prettier
to format the code
- Run
yarn build
to export the final js file - Final js file is exported as
dist/p5.teach.js