← Drawing and animation with p5.js: projects

A pattern maker

Open project · after lesson 6: Functions of your own

Write your own flower function that draws one flower anywhere, then use it in loops to cover the canvas with a pattern.

One way it could look
One way it could look. Yours will be different.

You'll use

These light up when your code uses them. Click one to see where you learned it.

Try it yourselfYour edits are saved in this browser.

Milestones

Tick each one when it is true of your project. Nobody marks it: be honest with yourself.

Make it yours

Looking back

Tick every milestone first.

Drawing and animation with p5.js · project badge

★ A pattern maker

Built with

Milestones

The hardest part