I want to move a label in a GUI in a circular path.I hope to maintain the speed using threads.
Can anyone tell me how to do circular movement? What is the logic we should use for it?
I want to move a label in a GUI in a circular path.I hope
Share
You can use the circumference formula : x^2 + y^2 = radius^2
Knowing that formula, if you know the radius you want (constant), you can do something like this (pseudocode, I hope you get the idea):