This is a demo code of learning html5 canvas.