Shapes and Math is a set of JavaScript routines to demonstrate the use of CANVAS and some basic 2d drawing functions.
Developed by Marcelo Pinheiro @mpinheir Email: mpinheir@gmail.com
You can try Shapes and Math
This project contains some unit tests and they must pass to contribution be approved. So, please, check if they are passing in your machine before opening the PR.
The steps to execute the unit tests:
-
You should install the Node 22 in your machine. For Linux and Mac a good option to install and manage node versions is through NVM
-
Install dependencies:
$ npm ci
- Execute unit tests
$ npm run test