Some insights how this project works
w
is width of canvash
is height of canvasw/2
half the width of canvasw/2
third the width of canvasw/4
quarter the width of canvash/2
half the height of canvash/2
third the height of canvash/4
quarter the height of canvas