This spec describes some additional improvements to nebulae.

Structural Enhancements

We should experiment with different algorithms for creating the shape of nebulae. Here are some ideas:

Shape Controls

The current algorithm for drawing circular and arc nebulae is to use a sin/cos function to create undulating edges. Right now the parameters to the functions are hard-coded, but we should expose these so we can experiment with different shapes.

Fractal Edges

Another technique is to use a fractal algorithm to define the edges.

Visual Enhancements

The automatic edge masks (for tiles on an edge) are hard-coded (meaning that the algorithms for creating the edges use fixed constants). We should experiment both with varying the constant used in the current algorithm and with creating new algorithms.

See Also