imokya / ParticleSystem

Three.js Particle System
36 stars 14 forks source link

ParticleSystem

Three.js Particle System devries from stemkoski's ParticleEngine.
基于three.js的粒子系统,内置火焰,雪花,星轨,萤火虫,爆炸等特效,可以根据自己需要调整参数。

演示地址

ParticleSystem

使用

const particleSystem = new ParticleSystem()
particleSystem.emitter = new FlameEmitter()
particleSystem.start()
scene.add(particleSystem.mesh)

构建

npm run dev
npm run build