This reference is for Processing 3.0+. If you have a previous version, use the reference included with your software in the Help menu. If you see any errors or have suggestions, please let us know. If you prefer a more technical reference, visit the Processing Core Javadoc and Libraries Javadoc.

Name

circle()

Examples
example pic
circle(56, 46, 55);
Description 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 ellipseMode() function.
Syntax
circle(x, y, extent)
Parameters
x float: x-coordinate of the ellipse
y float: y-coordinate of the ellipse
extent float: width and height of the ellipse by default
Returnsvoid
Relatedellipse()
ellipseMode()
Updated on January 1, 2021 03:38:08am EST