Natural square drawing algorithm | ScratchStats