NOTE: Under Construction - I'm in the middle of upgrading my site and lots of stuff is kinda broken. Please forgive the mess.

Make A Rectangle On An HTML Canvas

This is how I'm putting a rectangle on a canvas

August 2023


  • The order of the variables is .rect() is:

    x, y, width, height

═══ § ═══