This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by TheVault
about 9 years

Can you keep the image oriented in the same way while rotating

Hello,

When this is animated, the images are also rotating themselves (so the image will be upside down when halfway around the sun). Is there a way to keep the images upright? So the earth always has the north pole and Europe at the top no matter where on its path?

Thanks for your input!

Answer 54c01b4351b8879b12002629

1 vote

Permalink

I have tried rotating the earth the opposite direction so the earth stays upright.

points
Submitted by Yi Liu
about 9 years

1 comments

TheVault about 9 years

Yeah. I’m shortsighted. So what I did was add ‘@-webkit-keyframes spin-left’ and ‘@keyframes spin-left’ to my css, with the same properties as the spin-right except MINUS 360 degrees, and then add ‘-webkit-animation: spin-left 49.46s linear infinite;’ etc. to the css of earth.