A timer component based on the "window.requestAnimationFrame" function.
It's my choice when I need a frame timer for 2D canvas rendering.
Feel free to use and modify.
<< A timer component based on the "window.requestAnimationFrame" function. It's my choice when I need a frame timer for 2D canvas rendering. >>
Nice, thank you.
I probably should provide hooks to the requestAnimationFrame functionality in the EWB interface manager so that this type of functionality is easier to implement.