ELSC (File Format): Difference between revisions
no edit summary
imported>Jackoalan No edit summary |
imported>Jackoalan No edit summary |
||
Line 3: | Line 3: | ||
Electrical effects are commonly used to dynamically draw lightning and electrical arcs. | Electrical effects are commonly used to dynamically draw lightning and electrical arcs. | ||
Whenever a new ''particle instance'' is generated, a [[wikipedia:Bézier curve|Bézier curve]] is subdivided into segments. | |||
[[wikipedia:Bézier curve|Bézier curve]] is subdivided into segments. The central vertices are displaced using | The central vertices are then displaced using a [[wikipedia:Fractal|random fractal algorithm]]. | ||
a [[wikipedia:Fractal|random fractal algorithm]]. The instance's color and line-width is updated over its lifetime. | The instance's color and line-width is updated over its lifetime. | ||
== Properties == | == Properties == |