Circle Animation

Monkey Forums/Monkey Beginners/Circle Animation

Duke87(Posted 2015) [#1]
Hey Monkeys,
I'm currently working on a Circle-Loading-Animation.
Maybe you're interested, so I share it to you.

Code Below:


When i run it as Desktop Target it's quite ok with performance, but when i try to run as HTML, it stutters a lot.
Is this because of the "DrawCircle Function" ?
Am I doing something extremly the wrong way?

Bye Duke


Duke87(Posted 2015) [#2]
Bye the way, now i saw my mistake. :P
I should update the Position of each circle, instead of creating/deleting new ones and let them still with each loop.
(what a stupid mistake)