Thomas Ross Hallock

refracting magnifying glass effect with Javascript

After playing with this code and this demo of a javascript mouseover zoom effect, I decided to take the magnifying glass effect one step further and add some refraction:

It uses concentric images placed on top of each other to achieve the illusion. Paste in a URL to any image you want and you can play with it. It’s in an iframe, so you’ll have to dig a little if you want the source; it’s pretty ugly right now.

One thought on “refracting magnifying glass effect with Javascript

Leave a Reply

Your email address will not be published. Required fields are marked *