activate-power-mode icon indicating copy to clipboard operation
activate-power-mode copied to clipboard

Implement three.js for better performance

Open lexcast opened this issue 8 years ago • 2 comments

The rendering of too many particles on canvas is not ideal for performance #124. A webGL implementation could be the solution and I think three.js is a good lib for this.

PR are welcome, I will try as well. 😉

lexcast avatar Oct 07 '16 15:10 lexcast

Looks like drawParticles reads two config items for every single new particle, changing this would probably make a bigger difference in performance. The actual draw calls don't seem to be a big deal on my machine.

image

fenwick67 avatar Mar 17 '17 21:03 fenwick67

thank you @fenwick67

lexcast avatar Mar 19 '17 08:03 lexcast