3 ms·
> updating 2,000 cubes at 60fps Have we gotten so bloated with framework on top of framework that even this is deemed an impossible load? If you write straigh
by dheera 5y ago
> updating 2,000 cubes at 60fps
Have we gotten so bloated with framework on top of framework that even this is deemed an impossible load?
If you write straight-up WebGL code 2000 cubes at 60fps should be a walk in the park for any modern PC.
- mlsarecmg 5y agothreejs has no problem rendering hundreds of thousands of objects, so react doesn't have a problem either because its baseline is threejs, it does not introduce overhead or a performance penalty. These components render in a regular RAF loop, react is not involved at all unless you are mounting/unmounting objects, and this is where it can actually be faster.