size(800,600); float rotation = 90 ; translate(width/2, height/2); //scale(1.0, -1.0); fill(0); stroke(0); background(255); strokeWeight(4); line(0,0,width,0); rotate(radians(rotation)); stroke(0,0,255); line(0,0,width,0);