A talk given at LibertyJS in November of 2017: https://libertyjs.com
Source code with examples is available on Github:
https://github.com/mysterycommand/particles-fun-profit
Particle systems are most commonly used in games and physical simulations, but needn't be complex in order to reap many of their benefits. Using just a handful of patterns borrowed mostly from game programming, we can build a particle system that is easy to reason about and that has excellent performance characteristics. This combination of reason-about-ability and performance will enable rapid iteration over a number of possible uses and implementations of such a system.