Wo-hoah! Good moves jbum! I stumbled across the codes in one of the examples and just stuck them together with some other stuff I was trying out. Thanks a lot for your rejig with notes.
I've done a couple of different versions of the rect codes…
if (pmouseX > 0 && pmouseX > 0 && frameCount > 24);
noStroke();
rect(pmouseX, pmouseY, mouseX, mouseY, -7, 7);noCursor();
rect(pmouseX, pmouseY, mouseX, mouseY, 7, -7);
rect(pmouseX, pmouseY, mouseX, mouseY, 7, 7);
and
if (pmouseX > 0 && pmouseX > 0 && frameCount > 24);
line(pmouseX, pmouseY, mouseX,mouseY);
rect(pmouseX, pmouseY, mouseX, mouseY, -7, 7);noCursor();
rect(pmouseX, pmouseY, mouseX, mouseY, 7, -7);
rect(pmouseX, pmouseY, mouseX, mouseY, 7, 7);
(I'd like to be able to have the line and the noStroke rectangles but haven't hit the nail on the head yet)
It turns out that it makes the size of the box distort depending on its location, the bottom right being massive & the top left tiny.
Would there maybe be a way that you could toggle this effect on and off with the caps lock or shift key?