xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(100);
}
function draw() {
// ellipse(random(width), random(height), 20, 20);
//background (100); hintergrund wird gelöscht, flimmert
noFill();
//stroke(255);
//rect(random(width), random(height), 20, 20);
background (255,0,255,random(10));
//noFill();
//stroke(255,0 ,0);
//rect(noise(millis())*width, noise(millis())*height, 20, 20);
stroke(255,random(20,100),255)
//line(random(width), noise(millis())*height, mouseX, mouseY);
ellipse(width/5,height/2,noise( millis(0.5) )*width, noise (millis()) *height); //height & height = kreis
r= random (height)
ellipse (3*width/5,height/2,300,r);
if (mouseIsPressed) {
strokeWeight(4);
stroke (0)
ellipse(230,400,noise( random(10) )*height, noise (random()) *height);
}
}