3 ms·
You can increase the number of particles by changing this line: totalLines = 60000, My PC starts getting slower after 150K, but it works, though slowly, e
by ye 13y ago
You can increase the number of particles by changing this line:
totalLines = 60000,
My PC starts getting slower after 150K, but it works, though slowly, even with 1 million.
- shocks 13y agoInterestingly I can take it to 1,000,000 with Firefox (Nightly) without too many problems. Chrome (Canary) becomes unusable around 200,000.
- ye 13y agoIt really depends on the videocard I guess. I just tried both Crome and FF with a million particles, and they feel roughly the same.
- ilink 13y agoPerformance 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 http://prideout.net/blog/?p=67