fabianmoronzirfas
11/5/2014 - 3:39 PM

lines_from_the_middle.pde

float endx = 0;
float endy = 0;
//int prevx = 0;
//int prevy = 0;

void setup(){
size(500,500);
}

void draw(){

  line(width/2,height/2,endx,endy);
//  prevx = endx;
//  prevy = endy;
  endy = endy + random(0,20);
}