Skip to content

Contributed Tools, Projects, Demos

Lauren McCarthy edited this page · 50 revisions

This is a place for p5.js related tools, helpers, tutorials, examples, and demos created by people in the community. Things others might use or learn from. Feel free to add things you create here (just click the "Edit" button).

For syllabi or teaching specific materials and tools, please see the education page.

Demos

Tools

p5.js sketch creator

Simple app for the creation of p5.js sketches. Similar to openframeworks-project generator and cinder-tinderbox, this app will create a directory with all dependencies (html, css, js, etc.) required for a p5.js project. Created by Ken Frederick.

p5.js seed project

You can use this project to quickly bootstrap your p5js project and a supporting dev environment. The seed contains a basic p5js application and is pre-configured to install the p5js framework and a bunch of development tools such as a simple server and live-reload.

p5.js-cli

Little node app to run a p5.js script from the command line.

angular-p5.js

AngularJS wrapper for p5.js

p5.js-screen-saver

You can create your original screen saver using p5.js!

sprite class for p5.js

Created by Nick Fox-Gieg.

p5.js sandbox w/ edit/save/browse - demo

Created by Gene Kogan

Examples

Nature of Code x p5.js

Examples from Dan Shiffman's Nature of Code ported to p5.js.

Monash University Creative Coding Sketches on p5

Sketches from the Creative Coding Course found at FutureLearn given by Jon McCormack from Monash University separated by weeks. See the link at the title for the github repository where all the examples can be found:

  1. Week 1:
  2. Week 2:
  3. Week 3:
  4. Week 4:
    • Some of these examples require external resources, so I think is better to give the link to the Github repository, so yo can download the examples and host them in a local web server, the sixth example required a Perlin algorithm implementation I'm not sure I can use on my example, so I left it out. Here are the examples
  5. Week 5:
    • Some of these examples require an extra javascript file and/or a font (.otf) file. Here are the examples
  6. Week 6:

Network visualization

By Hanbyul Jo - code

face tracking and p5.js

clmtracker.js + p5.js

Saving animated gifs

Uses gif.js to create animated gifs from a sketch.

device orientation example

Stacked area chart

Lets you simply input a data file to create a stacked chart.

Something went wrong with that request. Please try again.