sphere(w, [detailX], [detailY]);
Draw a 3D Sphere
Arguments
w
The width dimension[detailX]
The detail in the X axis[detailY]
the detailt in the Y axisfunction setup()
createWindow(800, 800, GL3D);
end
function draw()
background(51);
sphere(50);
end