Learning P5.js
Learning P5.js
15, 20 is width and height of circle (change the size of the ellipse)
Draw:
Set up
3 parameters for background is used as rgb
x,y,width, height
X = over
Y = up
fill(‘green’)
noStroke()
Or stroke (‘orange’)
FOR CURVES
Line !!!
stroke(100,255,50)
line(75,300,75,350)
letcX = (for x)
letcY
To move on screen
Variable for size of the shape
Let Sz = 100
Return Y
7%4
(how many times 4 goes into 7 (1 time) and has a remainder 3 so it is 3)