Get flash to fully experience Pearltrees
With HTML5 gaining popularity, this tutorial outlines what is really just the tip of the iceberg that is interactive design.
By Mihai Sucan Table of contents Introduction My previous HTML5 canvas tutorial provided you with insight into the numerous use cases for canvas in web applications. In this article we will explore how you can write your own canvas-based painting application. Making a web application that allows users to draw on a canvas requires several important steps: setting up your HTML document with a canvas context (a canvas element with an id ), setting up your script to target that canvas context and draw inside it and adding the required mouse event handlers for user interaction and associated logic.