views:

27

answers:

1

I read somewhere in Google's reference (and I can not find it again) that the shadow for the map marker should be at a 45 degree angle. What is the transformation to apply to the original image to achieve this? By eyeball it looks like it could be a horizontal shear of about 50% followed by a vertical compression to 50%, but I suspect it could be more complicated.

+1  A: 

Not exactly the answer, but this website painlessly eliminated the problem.

http://cycloloco.com/shadowmaker/

Fletcher Moore
According to the site, it's a 0.5 y scale and pi/4 shear, which I believe is equivalent to the matrix `[ 2 1 / 0 1 ]`
Justin L.