look at dem lines it works by drawing the outline of a square multiple times, each time increasing the size of the outline until u have a square.
idk why but the square kept on clipping to the corner. I don't know how I got this to work. at one point it started spinning for some reason