//Info: http://processingjs.org/reference
void setup(){
size(1024,768);
background(0);
smooth();
frameRate(30);
noCursor();
}
void draw(){
fill(255);
rect(0,0,width,height);
//translate(width/2,mouseY);
//if(mousePressed){
strokeCap(SQUARE);
fill(0,50);
line(mouseX,mouseY,mouseX,mouseY+200);
line(mouseX,mouseY,mouseX+30,mouseY);
line(mouseX,mouseY+200,mouseX+30,mouseY+200);
line(mouseX+30,mouseY,mouseX+30,(mouseY+60)-(60/(width/(mouseX+1))));
line(mouseX+30,(mouseY+90)+(110/(width/(mouseX+1))),mouseX+30,mouseY+200);
line(mouseX+100,mouseY+200,mouseX+130,mouseY+200);
line(mouseX+100,mouseY,mouseX+130,mouseY);
line(mouseX+100,(mouseY+90)+(110/(width/(mouseX+1))),mouseX+100,mouseY+200);
line(mouseX+100,mouseY,mouseX+100,(mouseY+60)-(60/(width/(mouseX+1))));
line(mouseX+130,mouseY,mouseX+130,mouseY+200);
//if(mousePressed){
line(mouseX+30,(mouseY+60)-(60/(width/(mouseX+1))),mouseX+100,(mouseY+60)-(60/(width/(mouseX+1))));
// line(mouseX+30,mouseY+90,mouseX+100,mouseY+90);
line(mouseX+30,(mouseY+90)+(110/(width/(mouseX+1))),mouseX+100,(mouseY+90)+(110/(width/(mouseX+1))));
println(60/(width/(mouseX+1)));
//strokeWeight(10);
}
//}