Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
13
Task/Draw-a-sphere/Processing/draw-a-sphere-1.processing
Normal file
13
Task/Draw-a-sphere/Processing/draw-a-sphere-1.processing
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
void setup() {
|
||||
size(500, 500, P3D);
|
||||
}
|
||||
void draw() {
|
||||
background(192);
|
||||
translate(width/2, height/2);
|
||||
// optional color and lighting style
|
||||
stroke(200);
|
||||
fill(255);
|
||||
lights();
|
||||
// draw sphere
|
||||
sphere(200);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue