xxxxxxxxxx
void setup (){
size (500, 500, P3D);
background(255, 195, 77);
}
void draw(){
camera(mouseX, mouseY, 500, width/2, height/2, 0, 0, 1, 0);
background(255, 195, 77);
lights();
pushMatrix();
noStroke();
fill (199, 153, 26);
translate(width/2, width/2);
sphere(200);
popMatrix();
pushMatrix();
translate(width/2, height/2);
translate(50,0);
translate(0,0,200);
fill(255);
sphere(50);
translate(0,0,30);
fill(0);
sphere(30);
popMatrix();
pushMatrix();
translate (width/2, height/2);
translate(-50,0);
translate(0,0,200);
fill(255);
sphere(30);
translate(0,0,30);
fill(0);
sphere(15);
popMatrix();
translate(width/2, height/2);
translate(0,100,200);
fill(0);
rotateZ(mouseX *0.01);
box(100,20,10);
}
//(o-o) (o-o) (o-o) (o-o) (o-o) (o-o)
// /I\ /I\ /I\ /I\ /I\ /I\
// / \ / \ / \ / \ / \ / \
//Welcome to the checkpoint, nothng is further down.
// >( ͡° ͜ʖ ͡°) lenny fish >( ͡° ͜ʖ ͡°) lenny fish >( ͡° ͜ʖ ͡°) lenny fish