I was just wondering about integrating the HTML5 canvas into my Software Design blog like I did with JavaScript last week. Canvas is still basically JavaScript with a Canvas element.
Loading...
I could have also added the canvas into the page using Kramdown…
<canvas>Your browser does not support the HTML5 canvas tag.</canvas>
{: #canvas width="400" height="400" style="padding-left: 0; padding-right: 0; margin-left: auto; margin-right: auto; display: none;"}
I saw this clock as a demo a long time ago and I was happily able to reproduce it.