I am not sure about the frame() fun at the end of code. It seems to me, that you use your own timer and rqstanimationframe at the same time. It seems to me that you use two timers concurentlly. But I am not expert. If this is not intent I can correct it.
Hi
I am not sure about the frame() fun at the end of code. It seems to me, that you use your own timer and rqstanimationframe at the same time. It seems to me that you use two timers concurentlly. But I am not expert. If this is not intent I can correct it.