Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (23 sloc) 426 Bytes
void setup() {
size(960, 540, P3D);
pixelDensity(displayDensity());
noLoop();
}
void draw() {
background(0);
pushMatrix();
translate(width/2-100, height/2, 0);
noStroke();
fill(128);
// 半径100の球体
sphere(100);
popMatrix();
pushMatrix();
translate(width/2+100, height/2, 0);
stroke(128);
noFill();
// 半径100の球体
sphere(100);
popMatrix();
saveFrame("sketch02.jpg");
}