pixijs / particle-emitter

A particle system for PixiJS
http://pixijs.io/particle-emitter/docs
MIT License
793 stars 125 forks source link

[REQUEST/PR] Gravity simulation #78

Closed Inateno closed 6 years ago

Inateno commented 6 years ago

I would like to make a fountain or something near to that.

I tried with http://pixijs.io/pixi-particles-editor/#sparks but can't find a suitable configuration.

It's not really hard to code inside a PIXI.ParticlesContainer but could be a "nice to have" feature. I can try to include it in a PR if it's okay for you (I don't want to spend time on a never-included feature ;) ).

andrewstart commented 6 years ago

Something like http://pixijs.io/pixi-particles/examples/fountain.html? Set up your particle with a somewhat low starting speed and a high positive Y acceleration.

Inateno commented 6 years ago

Yes ! Perfect.

Didn't get it that acceleration was doing this kind of behaviour until now.

Thanks.

aditya-ig commented 3 years ago

Thanks @andrewstart, it saved a lot of time!