3 ms·
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 Chro
by a3voices 11y ago
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?
- drhayes9 11y agoLots of variables enter into this, but here's Pixi.js' bunnymark if you want to try this yourself: http://www.goodboydigital.com/pixijs/bunnymark/ 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.
- a3voices 11y agoAwesome, thanks.