One thing that may confuse someone (it confused me) with this code is that we are not moving points, but we are regenerating the whole whole things every frame. Also when we define progress, it can be written as position + @Frame. This way it's a lot clearer that we are "rotating" by just one degree the point position (that is defined as an angle).
The difference between 1) x = cos(angle), y =sin(angle) and 2) x=sin(angle) , y = cos(angle) is how we calculate the angles from. In 1) angle 0 will be at point (0,1) and 90 at point(1,0) (clockwise) In 2) angle 0 will be at (1,0) and 90 at point (0,1) (anti-clockwise) Both works depends on what direction you want the circle to be generated.
One thing that may confuse someone (it confused me) with this code is that we are not moving points, but we are regenerating the whole whole things every frame.
Also when we define progress, it can be written as position + @Frame. This way it's a lot clearer that we are "rotating" by just one degree the point position (that is defined as an angle).
The difference between 1) x = cos(angle), y =sin(angle) and 2) x=sin(angle) , y = cos(angle) is how we calculate the angles from.
In 1) angle 0 will be at point (0,1) and 90 at point(1,0) (clockwise)
In 2) angle 0 will be at (1,0) and 90 at point (0,1) (anti-clockwise)
Both works depends on what direction you want the circle to be generated.
nicely explained 👌
Awesome! 🥳
Thank you for lesson!
thank god i learned math at highschool