ELSC (File Format)

The ELSC particle script format is used to build electrical effects in the Metroid Prime series. Electrical effects are commonly used to dynamically draw lightning and electrical arcs.

Whenever a new particle instance is generated, a Bézier curve is subdivided into segments. The central vertices are then displaced using a random fractal algorithm. The instance's color and line-width is updated over its lifetime.

Properties
Particle generator properties are assembled into a particle script file tagged with. Any of the following properties are loaded into a description class for constructing an arbitrary number of particle generators.