+ 4

Html5 canvas

Pls how do i make a complete rotation https://code.sololearn.com/WUMCSZCT3rgp/?ref=app

14th Jun 2020, 11:43 AM
Infinite
Infinite - avatar
8 Respostas
+ 8
Rotation calculations work better around a fixed rotation "Origin" https://code.sololearn.com/WicmfI9tWAY9/?ref=app
14th Jun 2020, 12:24 PM
Louis
Louis - avatar
+ 4
Infinite few mistakes you made. Redeclare all the variable. Use setInterval, instead of setTimeout or requestAnimationFrame 0.1 msec interval is too fast Different rad of cos and sin Wrong radius calculation Wrong update of x and y in update function https://code.sololearn.com/WV43rZdayw0Z/?ref=app
14th Jun 2020, 1:23 PM
Calviղ
Calviղ - avatar
+ 3
Thanks a lot to you all, i have been able to fix it. Thanks for your contributions, i really appreciate. https://code.sololearn.com/WUMCSZCT3rgp/?ref=app
14th Jun 2020, 1:27 PM
Infinite
Infinite - avatar
+ 2
Thanks a lot Louis. I so much appreciate
14th Jun 2020, 12:35 PM
Infinite
Infinite - avatar
+ 2
Thanks a lot Calviղ
14th Jun 2020, 1:26 PM
Infinite
Infinite - avatar
+ 2
Thanks Mirielle, I'm currently working on linear algebra. Can i send you a message request? I just want to get some guides from you.
11th Aug 2020, 5:13 AM
Infinite
Infinite - avatar