I spent a little bit of time last night playing around with the new HTML5 canvas and seeing if I could create a realistic glowing line that moved around on the screen. My efforts can be found at the end of this article, but here is a screenshot of it:
The code itself is fairly straight-forward. A few random parameters are first set up to determine the colour of the line, as well as it's start and…