pixijs / particle-emitter

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

Add polygonal chain emitter generator #93

Closed romadanylchuk closed 5 years ago

romadanylchuk commented 5 years ago

The functional gives way to generate emitters along some polygonal chain curve.

andrewstart commented 5 years ago

I like what I see here. I did some cleanup, but I have a few changes that I want to make - you are doing a little more math than you need to for interpolation, it looks like it would break if the chain only had one point (like it would if the config was incorrect), and I'd like to make a couple larger changes:

I have some plans on how to do this, but will be busy next week and didn't want you to think this went unnoticed.

andrewstart commented 5 years ago

Alright, I've done the things that I wanted to do to it - are there any other features that would be easy to add that would hit any potential use cases that we have missed?

romadanylchuk commented 5 years ago

Oh, you have done great work! Actually, it is more then I wanted to do, thank you a lot!