The Creative Coder’s Field Guide
Everything You Need to Survive and Thrive with p5.js
Creative Coding · Course Guide
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.
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.
A week-one study guide for creative coding with p5.js: the canvas, the coordinate plane, functions, how draw() keeps running, and color.
Week 02A week-two study guide for creative coding with p5.js: variables, expressions, assignment, scope, and the trick behind animation.
Week 03A week-three study guide for creative coding with p5.js: conditionals, boolean expressions, comparators, and efficient branching.
Week 04A week-four study guide for creative coding with p5.js: for loops, initialization/condition/update, the modulo operator, and nested loops for grids.
Week 05A 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 06A week-six study guide: arrays (indexes, loops, push, pop, splice, slice), strings and text, object literals, and arrays of objects.
Week 07A week-seven study guide: objects and classes (constructors, this, properties, methods), classes in their own file, and arrays of objects.
Week 08A 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 09A 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.