Click the stage and hold to see it fill.
I made this by first finding the value between the first point and the second point (2 p - 1 p) then repeat by that. then i added so it would go to the first point then the second point and used an index var to change the position of the pixel. to make negative squares, i just checked if(2 p - 1 p) is positive or negative. I made this in like, 30 minutes. Also feel free to use!, no need to give credit :)