Dropshadows with calculated blur and alpha depending on mouse distance
More About This Demo From The Author
A quick demo to show how easy it is in canvas to dynamically calculate a drop-shadow from the mouse distance. You can also follow a step-by-step how it is done on the hacks blog: http://hacks.mozilla.org/2011/08/calculated-drop-shadows-in-html5-canvas
Get the Source Code
This demo is released under the BSD license.