The site for the playground for creative coding using JavaScript and the canvas element, built using create-react-app, which is great.
First up, clone the repo:
git clone https://github.com/sandpit/sandpit-site.git
cd sandpit-site
npm install
Maybe make a cup of tea? You've earned it.
Fire it up with:
npm start
If you have a demo to contribute, you should 100% open a pull request.
First up, duplicate /src/demos/template.js
and rename it to something appropriate.
Then, in index.js
, import
your demo and add it to the export default
definition.
It'll automatically be added to the navigation. Yayayayay.
You can find out more about Sandpit at sandpitjs.com, or via the Github repo.