RosettaCodeData/Task/Draw-a-sphere/Processing/draw-a-sphere

12 lines
138 B
Plaintext

void setup() {
size(500,500,P3D);
background(200);
}
void draw() {
stroke(200);
translate(250,250);
lights();
sphere(100);
}