A canvas 2D object oriented rendering engine. (Get it? Cotton? Canvas? 🥋)
Install cottonJS with the following command:
yarn add cotton-js
or
npm install cotton-js
To generate the docs from source, first clone the repository:
git clone https://github.com/fegwin/cotton-js.git
Then use the command:
yarn install
Then:
yarn docs
This will generate a folder named docs in your CottonJS folder with a file named Index.html. Open this and you're good to go!