Want to learn creative coding? Here’s the plan nobody gives beginners
An artist-first path into creative coding: the six ideas to learn first, a four-week plan, the best free resources, and where to learn in Melbourne.

Key takeaways
- Start with p5.js: it runs in the browser, it’s free, and it was designed for artists and beginners.
- Six ideas cover most beginner work: shapes, colour, variables, loops, randomness and interaction.
- Fifteen minutes a day for four weeks will get you making your own generative work.
Most programming courses are built to train software engineers. If you want to make art with code, you need a different route: one that starts with pictures, not data structures. Here it is.
Start with p5.js
p5.js is a free JavaScript library made for artists, designers and beginners. You can write code in the free web editor and see your drawing appear instantly, with nothing to install. Everything you learn transfers to other tools later.
The six ideas to learn first
- Coordinates and shapes: every drawing is shapes placed on an x and y grid.
- Colour: fill, stroke and transparency.
- Variables: names for numbers, so you can change one value and alter the whole picture.
- Loops: repeat an action hundreds of times, which is where generative art gets its richness.
- Randomness and noise: controlled chance. Perlin noise, created by Ken Perlin in the 1980s, gives smooth, natural-looking variation.
- Interaction: responding to the mouse, keyboard or time.
A four-week plan, fifteen minutes a day
Week 1: draw with code
Recreate a simple drawing, such as a face or a building, using only shapes and colour.
Week 2: repetition and chance
Use loops and random numbers to fill the canvas with hundreds of marks. Make ten variations by changing one number at a time.
Week 3: motion and interaction
Animate something, then make it respond to your mouse.
Week 4: make a series
Choose one idea and make five finished pieces from it. Export them as images and print your favourite.
The best free resources
- The Coding Train: Daniel Shiffman’s friendly video tutorials, the most popular way to learn p5.js.
- The Nature of Code: Shiffman’s free online book on simulating nature with code, for when you’re ready to go deeper.
- The p5.js reference: every function, with examples you can edit.
- OpenProcessing: thousands of sketches by other artists that you can read, run and remix.
How long does it take?
You can make your first generative drawing in an hour. With regular practice, most people feel comfortable making their own ideas within a few months. Like drawing, it’s practice rather than talent that counts.
Why learn with other people
Self-teaching works, but it’s slow when you get stuck on a missing bracket at 11 pm. In a class you get unstuck in seconds, see what others make from the same prompt, and get critique that pushes your work further.
Creative coding classes in Melbourne
In-person creative coding classes for adults are surprisingly hard to find in Melbourne. When we looked, most of what came up was coding for kids, career bootcamps or occasional one-off workshops. That gap is why we started Creative Coding: Art with Code: four evenings in Brunswick, for artists and curious beginners.
References and further reading
Keep reading
Creative codingRobots that draw: the strange, beautiful world of pen plotter art
What pen plotter art is, a short history of drawing machines from the harmonograph to today, and how to make your first plotter drawing.
3 minute read
Creative codingCreative coding: the 180-year-old idea hiding in your web browser
What creative coding is, where it came from (from Jacquard’s loom to Ada Lovelace to Processing), and how to make your first generative drawing in p5.js this weekend.
3 minute read