703
edits
No edit summary |
(→Code) |
||
Line 4: | Line 4: | ||
<source lang="Java">Ball[] ball = new Ball[15]; | <source lang="Java">Ball[] ball = new Ball[15]; | ||
int a,b,c; | int a,b,c; //Abstände der Ebenen | ||
void setup() { | void setup() { | ||
Line 13: | Line 13: | ||
colorMode(HSB,360,100,100,100); | colorMode(HSB,360,100,100,100); | ||
a = 500; | a = 500; //erste Ebene | ||
b = 400; | b = 400; //zweite Ebene | ||
c = 40; | c = 40; //Lücke | ||
for (int i=0; i < 5; i++) { | for (int i=0; i < 5; i++) { |
edits