Quake's particles: blood and puffs, explosions, lava and teleport splashes, and the trails behind rockets, grenades, gibs and magic missiles, each moving by its kind and dying at its time.
particles = ElixirQuake.Particles.effect([], origin, direction, colour, count, now)
particles = ElixirQuake.Particles.run(particles, seconds, now)
Summary
Functions
A tarbaby's burst: 1024 particles in two colours.
count particles of palette colour colour thrown from origin along direction; 1024 is an explosion.
A rocket's explosion: 1024 particles flying out and cooling.
Lava thrown up in a square around origin.
Move every particle on by seconds and drop those whose time is up at now.
The sparkle of a teleport arriving at origin.
A trail from from to to: :rocket, :smoke, :blood, :tracer, :slight_blood,
:tracer2 or :voor.
Types
Functions
A tarbaby's burst: 1024 particles in two colours.
count particles of palette colour colour thrown from origin along direction; 1024 is an explosion.
A rocket's explosion: 1024 particles flying out and cooling.
Lava thrown up in a square around origin.
Move every particle on by seconds and drop those whose time is up at now.
The sparkle of a teleport arriving at origin.
A trail from from to to: :rocket, :smoke, :blood, :tracer, :slight_blood,
:tracer2 or :voor.