Calculated shadow

Dropshadows with calculated blur and alpha depending on mouse distance

Built using JavaScript, HTML5, Canvas


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:

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