// setup() & draw() - Grundgerüst // random() - Zufall // stroke(), RGB - Farbwahl // if - Bedingung // mousePressed - Maustaste void setup() { size(200, 200); stroke(0); background(255); } void draw() { if (mousePressed) { stroke(255, random(0, 150), 0, 127); line(random(width), random(height), mouseX, mouseY); } }