Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is a tangent, but does anyone know the max number of sprites you can have animated in JavaScript before it gets sluggish on a typical computer running Chrome?


Lots of variables enter into this, but here's Pixi.js' bunnymark if you want to try this yourself: http://www.goodboydigital.com/pixijs/bunnymark/

My system (OSX 10.10.5, 2.6 GHz Intel Core i5, 16 GB RAM) running Chrome 45.0.2454.101 (64-bit) gets north of ~80k bunnies before dropping FPS below 60.

Don't measure when adding, add a bunch and let it run for a bit.


Awesome, thanks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: