So that I can combine this effect with another that is already using WebGL.
However, doing so results in errors with the particles being rendered, like so:
three.js:18501 Uncaught TypeError: Cannot read property 'offset' of undefined at WebGLSpriteRenderer.render (three.js:18501) at WebGLRenderer.render (three.js:22287) at render (canvas_particles_waves.html:184) at animate (canvas_particles_waves.html:157)
Many community members are active on both websites. So it should be sufficient if users just post at one place.
I understand that crossposting is beneficial for the OP since it’s easier to reach more people. On the other hand, it makes the support and maintenance only more complicated since the discussion is spread over multiple sites. Because of this, I personally refuse crossposting.
By the way, here’s the particle wave canvas demo working in WebGL: http://plu.sx/v2/
Code is here:
Now, I did get an optimization tip, which I’ll implement soon, from WestLangley on StackOverflow, but not here. So maybe crossposting should be allowed. Or maybe I’ll just post in one place first, wait a while, and if no responses, then try other sites.