Punkt
'Punkt' aus Punkten.
Linie
'Linie' aus Linien.
Von der Figur..
..zur Linie.
Form
'Form' aus Formen.
<source lang="java"> void setup () {
size (800,600); background (255);
}
int value = 0; int counter = 0;
void draw () {
fill (0); if (counter >= 1) { triangle (40,250,50,10,70,550); triangle (48,18,120,30,140,18); triangle (48,80,120,92,140,80); } if (counter >= 2) { ellipse (200,250,200,200); } fill (255); if (counter >= 3) { ellipse (220,270,130,70); } fill (0); if (counter >= 4) { rect (350,250,25,200); } if (counter >= 5) { triangle (370,265,380,230,450,265); } if (counter >= 6) { rect (480,200,200,200); } fill (255); if (counter >= 7) { rect (530,260,30,180); rect (600,260,30,180); rect (530,200,150,20); } }
void mouseClicked() {
counter = counter +1; if (value==0) { value = 255; }
}