Skip to content

sandpit/sandpit-site

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

⛱ 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.

About

The create-react-app powering the Sandpit site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published