Given a document, render a visual DOM tree onto a canvas
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


The primary intent of this script is to render a DOM tree onto a canvas in a aesthetically pleasing manner.

The secondary intent is to serve as an educational primer. Libraries will not be used, and there will be a verbose amount of documentation.

Demo App


I welcome any and all contributions. My only requests are to please avoid using libraries (I want to know whats going on under the hood), and please include a healthy chunk of documentation.

Helpful Links

Included in the comments is a bunch of links where the following are being used. They range from beginner level understanding to advanced. They are listed in no particular order.

Links from the demo branch

Canvas Documentation