visuco
Challenge 13 of 16

Your own functions can call each other. drawPair asks for two trees and the loop asks for three pairs, so one line inside the loop puts six trees on the canvas.

Set the second tree's offset and size, and the gap between pairs.

Your code JavaScript

Set the second tree's offset and size, and the gap between pairs.

0 / 30 frames · 400×400
Target
Yours
Results
0%
Press Run to check your code
Penalties: none this run

Report this challenge