The Creative Coder’s Field Guide

Everything You Need to Survive and Thrive with p5.js

Creative Coding · Course Guide

The Creative Coder’s Field GuideBeginner study guides for learning p5.js and creative coding

Everything You Need to Survive and Thrive with p5.js. Each week takes what the last week built and makes it move, change, or decide.

JavaScript + p5.js · 8 guides · Understand → Know → Do

One thread runs through every guide: each week takes whatever the last week built and makes it move, change, or decide. New to p5.js? Start at Week 1. Otherwise, jump to whichever week matches where you are.

Week 01

First-Sketch

A week-one study guide for creative coding with p5.js: the canvas, the coordinate plane, functions, how draw() keeps running, and color.

Week 02

Moving-Parts

A week-two study guide for creative coding with p5.js: variables, expressions, assignment, scope, and the trick behind animation.

Week 03

Either-Or

A week-three study guide for creative coding with p5.js: conditionals, boolean expressions, comparators, and efficient branching.

Week 04

Iteration

A week-four study guide for creative coding with p5.js: for loops, initialization/condition/update, the modulo operator, and nested loops for grids.

Week 05

Building-Blocks

A week-five study guide: defining and calling your own functions, parameters and arguments, return values, and the transformations translate, rotate, scale, push and pop.

Week 06

Line-Up

A week-six study guide: arrays (indexes, loops, push, pop, splice, slice), strings and text, object literals, and arrays of objects.

Week 07

Cookie-Cutter

A week-seven study guide: objects and classes (constructors, this, properties, methods), classes in their own file, and arrays of objects.

Week 08

View-Source

A week-eight study guide: how the web works (clients, servers, URLs), plus a beginner's introduction to HTML elements, the page skeleton, CSS rules and selectors, and the box model.

Week 09

Pixel-Pusher

A week-nine study guide: loading and drawing images, live webcam video, reading pixels with get(), the pixels array, changing pixels, pixelating video, createGraphics, and blur and edge filters.