How to rotate an circle while is moving? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to rotate an circle while is moving?

I cant understand what happens, i try to rotate an circle around his center but is not working (i mean is not spining, is flying around the globe). I tried alredy transform translate rotate. Only if i use transform-origin: center; and i move the circle on center its working but i dont need that. Maybe i am using wrong the transition method, or somehow i changed the way this thing should work. Help me pls.🌍 i am using d3.js btw..

12th Apr 2020, 3:24 PM
ionuț cosmin
ionuț cosmin - avatar
3 Answers
0
You can show your code then we can help you .
12th Apr 2020, 3:49 PM
Be_🆒😎
Be_🆒😎 - avatar
12th Apr 2020, 4:41 PM
ionuț cosmin
ionuț cosmin - avatar
0
I fix it but i dont think is the good way to do this... Any help pls?
14th Apr 2020, 11:04 AM
ionuț cosmin
ionuț cosmin - avatar