Skip to content

Latest commit

 

History

History

Session 1 Challenges

Here are some challenges building on the things we started this week!

Donut

Use oval()s to draw a donut that fills the canvas. Bonus points if you make the donut responsive to the canvas size. 🍩

Donut

Stripes

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! 🌇

Stripes

Staircase

Augment rectangle heights to draw a staircase. Again, you can do it as individual steps or put rect() inside a loop! 🪜

Staircase

Confetti

Use random() along with width() and height() to draw shapes at random positions on the canvas 🎉

Confetti