The create-react-app powering the Sandpit site
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
.gitignore
README.md
package.json
yarn.lock

README.md

sandpitjs.com

The site for the playground for creative coding using JavaScript and the canvas element, built using create-react-app, which is great.

Getting Started

First up, clone the repo:

git clone https://github.com/sandpit/sandpit-site.git
cd sandpit-site

If you don't have cairo, you'll need it:

brew update
brew install cairo

Then:

yarn

Maybe make a cup of tea? You've earned it.

Once everything is done, fire it up with:

yarn start

Adding a demo

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.

Sandpit

You can find out more about Sandpit at sandpitjs.com, or via the Github repo.