Skip to content
Demos Lab
  • p5.js
  • TouchDesigner
  • Generative Art
  • Installations
  • Physical Computing
  • Tools
  • Media Art
  • About

p5.js and Processing Tutorials, Sketches and Guides

This hub gathers Demos Lab's coverage of p5.js and Processing, the open-source tools that let artists, designers and students sketch with code. You'll find tutorials, annotated sketches and practical advice for building generative and interactive work in JavaScript or Java. It serves beginners drawing their first shape on a canvas and experienced coders who want cleaner, more expressive projects.

What you'll find here

Beginner-friendly tutorials

Walkthroughs start with setup() and draw(), then build toward shapes, color, motion, mouse and keyboard input, and simple animation.

Annotated example sketches

Each sketch is explained line by line so you understand why it works, with ideas for remixing it into something of your own.

OpenProcessing community guides

These pieces cover publishing, forking and learning from sketches on OpenProcessing, plus advice on presenting your work so others can explore and build on it.

JavaScript versus Java workflows

Comparisons show when browser-based p5.js suits a project and when Processing's Java environment is the better choice for installations, high-resolution exports and heavier computation.

Home » p5.js & Processing
p5.js Creative Coding Hero
October 21, 2026 by Demos Lab Editors
p5.js & Processing

What is p5.js and why artists love it

Toolp5.js CostFree, open source Runs inAny modern browser LevelBeginner friendly What p5.js actually is p5.js is a set of JavaScript functions that handle the…

Read article →

Latest experiments

  • p5.js Creative Coding Hero
    What is p5.js and why artists love it

Sections

  • p5.js & Processing (1)

Demos Lab

Creative coding and interactive media art

Sections

  • p5.js & Processing

Latest

  • What is p5.js and why artists love it

© 2026 Demos Lab.
  • About
  • Code & Credits
  • Privacy Policy
  • Terms of Use
×