[back in 2010] Just a few weeks ago, I was working on a project to learn the basics of the HTML5 Canvas element. This little project, soon turned into a little experiment. I wanted to create a good looking firework, within the canvas element. I have created two demo pages so far. Both pages have a very simple, but different purpose. The first page I'd like to show you, is the burst of the firework. The colors are picked at random (from a couple of images), and so are the number of sparks en the distance they travel. Check out the burst demo here. The other page I'd like to share with everyone, is a simple mouse-drag test (no touch support). When dragging the mouse across the screen, little sparks will ignite from the cursor. Colors, once again, are random within a certain range, and so is the distance where the sparks show up. A similar kind of technique will be used to track the firework when it ignites and flies towards the sky.
