tim-soft / react-particles-webgl

🔆 A 2D/3D particle library built on React, Three.js and WebGL
https://timellenberger.com/particles
MIT License
468 stars 32 forks source link

React Three Fiber #3

Open skrichten opened 5 years ago

skrichten commented 5 years ago

Your project is interesting, but it would be great to see a particle system utility built FOR react-three-fiber, instead of on top of it. I was wondering if you had any plans for something like that.

tim-soft commented 5 years ago

@skrichten I've been thinking about this a bit and it could make for some interesting flexibility. I can imagine some helper function for generating and passing the [x, y, z] position and velocity vectors for each point could be useful, so you could use your own primitives/shaders

edit: or possibly passing children to the particle field and using those as particles

flyskywhy commented 4 years ago

Maybe ref to Support positions, colors, and animateCustom of particles