A very simple animation, showing how to keep references to your objects, update them before rendering the visual again. Note that there is no call to the "clear()" function, nothing is recreated, the circles just move a bit every frame of the animation. You can call the "render()" function or you can use "animation" and let the library creates a timer on your behalf and calls the render() for you.
comments