Re:Particle effects in JavaScript
by ye on Monday October 28, 2013 @05:38PM
(#6630018)
You can increase the number of particles by changing this line:
My PC starts getting slower after 150K, but it works, though slowly, even with 1 million.
[ Parent
| on HN ]
Performance for this kind of particle effect will be even better once Webgl2 is widely available. Transform feedback (or other hacks) let you manipulate the particle positions on the videocard itself. There's a great article about them here: http://prideout.net/blog/?p=67
Interestingly I can take it to 1,000,000 with Firefox (Nightly) without too many problems. Chrome (Canary) becomes unusable around 200,000.