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.

These light up when your code uses them. Click one to see where you learned it.
Tick each one when it is true of your project. Nobody marks it: be honest with yourself.
function flower(x, y, size) {for (let row = 0; row < 3; row++) {
for (let col = 0; col < 4; col++) {
flower(65 + col * 90, 60 + row * 90, random(20, 36));
}
}Tick every milestone first.
You built it with: