aswartzell.net Iris

void setup() {
  size(470, 470);
  background(255);
  smooth();
}

void draw() {
    stroke(random(0, 255));
    strokeWeight(1);
    int x = mouseX-width/2;
    int y = mouseY-height/2;
    float d = sqrt(x*x+y*y)/2;
    float angle = random(0,360);
    float x1 = width/2+d*cos(angle);
    float y1 = height/2+d*sin(angle);
    angle = random(0,360);
    float x2 = width/2+d*cos(angle);
    float y2 = height/2+d*sin(angle);
    line(x1,y1,x2,y2);
}