Free creative coding workbook · PDF, 19 pages
Art with Codein 7 Days
Seven short sketches in p5.js for adult beginners. Fifteen minutes a day, all in your web browser, nothing to install. On day seven you make the same self-portrait again, and see what a week of code can do.
Free. We’ll email you a copy too, and you’ll get Studio Notes, our newsletter about drawing, code and art, every second Thursday. Unsubscribe anytime. Read our privacy policy.
Your workbook is ready.
Open editor.p5js.org in another tab and start with day zero. It takes ten minutes. Type the code, don’t paste it.
We’ve also emailed you a copy, so you can find it again later.
Seven days, seven ideas
Artists have drawn with code since the 1960s, because it’s good at what hands are bad at: repeating something a thousand times, changing it a little each time, leaving decisions to chance, and making pictures that move. Each day teaches one of those ideas.
Every day follows the same rhythm: type the code, change the numbers until something surprises you, then keep the version you like best.
- 0The before sketchA record of where you’re starting from10 min
- 1Graph paperPlacing shapes with x and y15 min
- 2Homage to the squareMixing colour from red, green and blue light15 min
- 3One square, 81 timesRepetition with for loops15 min
- 410 PRINTRules plus chance15 min
- 5The pendulumAnimation: drawings that change over time15 min
- 6Your own brushInteraction with the mouse and keyboard20 min
- 7The self-portrait, againPutting all of it together25 min
Look inside
Each day has the code to type, a picture of what it makes, ideas for changing it, and why it works. Plus a one-page p5.js cheat sheet. Want to try one now? Run day one in the code playground.





Who it’s for
You’ve never written code
You need a laptop, a web browser and fifteen minutes. No maths, no installs and no experience required. If you can type and change a number, you can do this.
You think code isn’t for artists
Artists from Vera Molnár to Sol LeWitt have made work from rules and code since the 1960s. Code is a pencil with a few extra powers, and p5.js was made for artists.
You’re thinking about a class
Try it at home first. It covers the first ideas of our beginner course, Creative Coding: Art with Code.
From the teacher
“Code is good at things hands are bad at: repeating something a thousand times, changing it a little each time, and making pictures that move and answer back. Make your self-portrait on day zero and again on day seven, and you’ll see what a week of code can do.”
Alex Gibson, artist, creative technologist and founder of Melbourne Art School. About the school
Fifteen minutes. One browser tab.
Start tonight.