πŸ‘Ύ + πŸ‘½ + πŸ€– = Review

Do Now

You know how to create a circle (ellipse()), and you know how to create a rectangle (rect()). How could you combine these two shapes to draw a semicircle?

Like this:


Design your own character

Using the p5 graph paper, design your own character– either an alien πŸ‘½/πŸ‘Ύ or a robot πŸ€–.

Meeting Standards

  1. Planning graph paper indicates accurate pixel measurements.

  2. Code corresponds to planning graph paper.

  3. Code each of the following commands:

✱ rect()
✱ line()
✱ ellipse()
✱ fill()
✱ stroke()
✱ strokeWeight()

Push yourself for a 4!

Display the mouseX and mouseY on the screen while drawing:

// This goes at the top of your code
background('white')
textSize(10)
text('Mouse X = ' + mouseX + " | Mouse Y = " + mouseY, 10, 10)