int y = 0; void setup(){ size(1000,900); background(255); frameRate(5); } void draw(){ stroke(0); line(0,y,width,y); y += 10; }