Lonely Planet
I originally tried to create this animation using pure CSS, but I ran into trouble getting the rotation animation just right.
This version of the animation uses 3D projection on canvas to achieve the smooth rotation.
Everything you see if done in code.
A live example can be seen here: https://codepen.io/MarioD/details/f33c3bbf180c4a68da1e854537a3e124/
More by Mariusz Dabrowski View profile
Like