Here are some challenges building on the things we started this week!
Use oval()
s to draw a donut that fills the canvas. Bonus points if you make the donut responsive to the canvas size. 🍩
Create a series of rectangles that act as a gradient by augmenting the red, green, or blue fill values rather than setting them randomly. You can do it by drawing each rectangle, or as a loop! 🌇
Augment rectangle heights to draw a staircase. Again, you can do it as individual steps or put rect()
inside a loop! 🪜
Use random()
along with width()
and height()
to draw shapes at random positions on the canvas 🎉