# Drawing Rectangles (and Squares) on the Canvas | kirupa.com

**URL:** <https://forum.kirupa.com/t/drawing-rectangles-and-squares-on-the-canvas-kirupa-com/628522>\
**Category:** programming\
**Created:** [April 23, 2015, 7:04am UTC](https://forum.kirupa.com/t/drawing-rectangles-and-squares-on-the-canvas-kirupa-com/628522 "2015-04-23T07:04:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [April 23, 2015, 7:04am UTC](https://forum.kirupa.com/t/drawing-rectangles-and-squares-on-the-canvas-kirupa-com/628522/1 "2015-04-23T07:04:28Z")

</div>

by [kirupa](http://www.kirupa.com/me/index.htm) | 22 April 2015

When drawing shapes on the canvas, you can actually go really REALLY far without ever having to draw a rectangle. The reason for that is simple. Rectangles are terrible things that nobody should ever have to deal with:

* * *
This is a companion discussion topic for the original entry at [http://www.kirupa.com/html5/drawing\_rectangles\_squares\_canvas.htm](http://www.kirupa.com/html5/drawing_rectangles_squares_canvas.htm)
