trying to figure out mouseclick with canvas

I used clientX and clientY, but the result seems to be a bit off. But at least I got something to work for now.

http://jsfiddle.net/0wr7c6mw/

Published by ourhomeplanet

I'm presently a student of life who is trying to figure out the mysteries of the universe. Any hints anybody?

Leave a comment