2009-04-28 processing proce55ing sphere 3d rotate void setup(){ size(400, 400, P3D); } void draw(){ background(0); translate(width/2, height/2); rotate(frameCount*PI/60); sphere(100); } rotate()が何を中心にして回るのかは置いておく。sphereで原点中心に球を描画。