Calculated shadow

Dropshadows with calculated blur and alpha depending on mouse distance

Built using JavaScript, HTML5, Canvas

  • 104 views
  • 0 comments

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

No comments yet.

Log in to add your own.

Get the Source Code

Download the Source 3.81 KB · ZIP File

Browse the Source

This demo is released under the BSD license.

More by codepo8