You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried oCanvas a few days and found its so beautiful and elegant, and have a very small size.
But when I run some tests, the FPS makes me so disappointed(already set the fps to 60), especially on android phone.
Then I forked the project and checked the main loop in source code and found some setTimeout functions may slow down the fps, so I removed the fps setting and did some modification in main loop, sprite and animation, and then the fps looks improved a lot , I add some examples to compare the fps(https://github.com/keel/ocanvas/tree/develop/examples).
Also, I add loop and update paras to animate(), so I can make some special effect (examples/animation.html)
I really like oCanvas and hope it used widely, I don't think my work is good enough, so I suggest @koggdal can make some performance improvement , and add unit tests to make it more stable.
The text was updated successfully, but these errors were encountered:
I don't have much time to work on this project anymore though, so for me this is mostly in maintenance mode. Most of the code is from 2012 or so.. :) I'd be happy to review a PR though in case you want to fix things up!
I tried oCanvas a few days and found its so beautiful and elegant, and have a very small size.
But when I run some tests, the FPS makes me so disappointed(already set the fps to 60), especially on android phone.
Then I forked the project and checked the main loop in source code and found some setTimeout functions may slow down the fps, so I removed the fps setting and did some modification in main loop, sprite and animation, and then the fps looks improved a lot , I add some examples to compare the fps(https://github.com/keel/ocanvas/tree/develop/examples).
Also, I add
loop
andupdate
paras toanimate()
, so I can make some special effect (examples/animation.html)I really like oCanvas and hope it used widely, I don't think my work is good enough, so I suggest @koggdal can make some performance improvement , and add unit tests to make it more stable.
The text was updated successfully, but these errors were encountered: