This repo contains p5js sketches which are hosted at netlify so that these sketches can be embedded as iframes into external sites. Most of these sketches are used for creative coding teaching purposes which are mostly embedded into slides using slides.com.
- go to editor.p5js.org and make sure you are logged into your account
- open the sketch you'd like to add to sketches
- download the sketch
- unzip downloaded sketch
- delete files p5.js, p5.dom.js, p5.sound.min.js since we want to load them via cdn
- open index.html and replace local script src href with the public cdn equivalent pointing to the current p5js library version ( you can check the current p5js version here)
- rename unzipped folder by removing timestamp reference
- add folder to sketches
- update git repo and deploy to netlify