Search code examples
javascriptnpmmodulethree.jsparticle-system

Particle system for three.js as npm package


Is there any particle system for three.js that can be used as npm package (with import, without global namespace pollution)?

Edit: I want to use it as a module in a webpack bundling system. (without the need for global namespace variables)


Solution

  • Yes. npm shader-particle-engine, github: https://github.com/squarefeet/ShaderParticleEngine

    In general, the Three.js ecosystem is low quality, and if you want a package published to npm you have to do it yourself, and probably remove a lot of globals before you do :)