Update title
Pass canvas into code

* Dynamically get canvas width and height.