p5.js | circle() Function
The circle() function is used to draw the circle on the screen. A circle is the closed shape. A circle can be created by using the center and radius of the circle.
circle(x, y, d)
- x: It is used to set the x-coordinate of the center of the circle.
- y: It is used to set the y-coordinate of the center of the circle.
- d: It is used to set the diameter of the circle.
My Personal Notes arrow_drop_up
Please Login to comment...