✱ Create a canvas that is 500px wide and 500px tall.
✱ Draw an ellipse()
inside of another ellipse.
✱ Give each ellipse()
a different color.
Do you wanna build a snowman?
It doesn’t have to be a snowman…
function setup(){
createCanvas(500,500)
}
Use the p5 graph paper to plan your snowman1.
If you add this code to your sketches, you’ll be able to see where your mouse is on the screen…very helpful for drawing!
background('white')
textSize(10)
text('Mouse X = ' + mouseX + " | Mouse Y = " + mouseY, 10, 10)
ellipse()
, correctly layered so that it looks like one is resting on top of the other.line()
for the armsp5✱ Reference
to figure out how to make this shape.fill()
and stroke()
to give your snowman some color.It doesn’t have to be a snowman. ↩