Subscribed unsubscribe Subscribe Subscribe

sphere()

processing_Sample

sphere()
sphere() \ Language (API) \ Processing 2+

create sphere on center
centerMode

sphere(radius)

size(100,100,P3D);

noStroke();
lights();
translate(width*0.25,height*0.5,0);
sphere(30);

translate(width*0.5,0,0);
sphere(20);