How are math floor and math pi used in animation? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How are math floor and math pi used in animation?

7th Jul 2018, 12:48 PM
B.D
B.D - avatar
3 Answers
7th Jul 2018, 5:08 PM
Calviղ
Calviղ - avatar
+ 2
Check out this code that uses Math.PI and Math.floor() to calculate the dimension of circular animation. https://code.sololearn.com/W5rjjRT7o46F/?ref=app
7th Jul 2018, 1:31 PM
Calviղ
Calviղ - avatar
+ 1
But can you make it elliptical? the orbit?
7th Jul 2018, 2:50 PM
B.D
B.D - avatar