I built a radar. Somebody help me get it moving #3586
Unanswered
junmaqiang
asked this question in
Q&A
Replies: 2 comments 3 replies
-
I think you just need to change the x and y positions of the outer line point with cosinus and sinus respectively (according to the angle, in radians, you want it to be). It should just require some simple trigonometry to work. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Consider the code of our clock example: https://github.com/fyne-io/examples/tree/develop/clock |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need it can moveing
①360° rotation ②need gradient
this is my write code
I refer to gif
Beta Was this translation helpful? Give feedback.
All reactions