Custom particles ✨

My first ever threejs creation - particles :sparkles:

I used attributes in shaders (and an ‘elapsed time’ uniform in material) to get the particles’ lifetimes, useful for effects like scale-in/out and a blinking brightness.

Here’s the live example (tap & drag, or move the mouse) particles.maxvanleeuwen.com

And here is the website’s full code: github

Hope this is helpful! : )
Max

9 Likes