Front-end education for the real world. Since 2018.





How to animate around a circle

Original author: Robin Rendle

Commentary: Andy Bell

More posts like this please. Short, snappy and handy!

I chuckled at the absurdity of conflicting rotation values in the resulting code, but it does the job perfectly well for what Robin was trying to achieve: animating around a shape, not spinning. I’m not sure when I would use this technique, but I know I will in the future and this is going to save me so much time and frankly, banging my head on the desk, which transform animations almost always result in.

Check it out

Newsletter