
Hier der Code des Noisebeispiels basierend auf Perlin Noise:
void setup() {
size (1024, 768);
background (255);
noStroke ();
fill (0);
smooth();
}
void draw() {
background(255);
for (int x=0; x < 200; x++) {
for (int y=0; y < 200; y++) {
ellipse (x * 5,
y * 5,
noise ((x + mouseX) * 0.05) * 10,
noise ((y + mouseY) * 0.05) * 10
);
}
}
}

