sphere

v0.1.7
sphere(w, [detailX], [detailY]);

Draw a 3D Sphere.

Arguments

wThe width dimension
[detailX]The detail in the X axis
[detailY]the detailt in the Y axis

function setup()
  createWindow(300, 300, GL3D);
end

function draw()
  background('purple');
 
  sphere(200);
end

Output

See sphere in shapes3D.h