A simple application of HTML5 canvas