Draws a circle to the screen.
1def setup(): 2 py5.circle(56, 46, 55)
Draws a circle to the screen. By default, the first two parameters set the location of the center, and the third sets the shape’s width and height. The origin may be changed with the ellipse_mode() function.
Underlying Processing method: circle
circle(x: float, y: float, extent: float, /) -> None
extent: float - width and height of the ellipse by default
x: float - x-coordinate of the ellipse
y: float - y-coordinate of the ellipse
Updated on November 12, 2021 11:30:58am UTC