ellipse

v0.1.7
ellipse(x, y, w, h);

Draw an ellipse on the screen.

Arguments

xThe x position of the ellipse
yThe y position of the ellipse
wThe width diameter of the ellipse
hThe height diameter of the ellipse

function setup()
  createWindow(200, 200);
end

function draw()
  background('purple');
 
  ellipse(100, 100, 64, 32);
end

Output

See ellipse in shapes.h