👾 + 👽 + 🤖 = ReviewUnit 1 – Algorithms and p5 | September 23
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?
Design your own character
Using the p5 graph paper, design your own character– either an alien 👽/👾 or a robot 🤖.
Planning graph paper indicates accurate pixel measurements.
Code corresponds to planning graph paper.
Code each of the following commands:
Push yourself for a 4!
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)