703
edits
(Created page with " == Bauhaus Formen == float seg = 0; //Segmentzähler void setup() { size(800, 800); smooth(); noStroke(); } void draw() { background(0); fill(255,255,0); maleSegm...") |
|||
Line 2: | Line 2: | ||
== Bauhaus Formen == | == Bauhaus Formen == | ||
float seg = 0; //Segmentzähler | <source lang="Java">float seg = 0; //Segmentzähler | ||
void setup() { | void setup() { | ||
Line 13: | Line 13: | ||
background(0); | background(0); | ||
fill(255,255,0); | fill(255,255,0); | ||
maleSegmente(100, | maleSegmente(100,mouseX,mouseY,0,90); | ||
fill(255,0,0); | fill(255,0,0); | ||
maleSegmente(100, | maleSegmente(100,mouseX*2,mouseY*2,1,45); | ||
fill(0,0,255); | fill(0,0,255); | ||
maleSegmente(80, | maleSegmente(80,mouseY,mouseX,40,90); | ||
} | } | ||
Line 47: | Line 47: | ||
} | } | ||
} | } | ||
</source> |
edits