Skip to content

Interface: AtmoShellConfig ​

Configuration accepted by buildAtmoShell.

Properties ​

config ​

ts
config: BodyConfig;

radius ​

ts
radius: number;

World radius the shell sits at — typically config.radius.


opacity ​

ts
opacity: number;

Initial alpha in [0, 1].


tint? ​

ts
optional tint?: string;

Optional override for the body-relative tint (hex string). When omitted, falls back to a neutral pale-blue default. Callers that want a climate-driven hue derive it caller-side and pass it here.


tiles? ​

ts
optional tiles?: readonly Tile[];

Body's hexasphere tiles — when provided, enables the paintFromTiles bridge that projects per-tile gas colours from the playable atmo grid onto the shell. Omit for a purely procedural shell with no gameplay link.


params? ​

ts
optional params?: AtmoShellParams;

Initial procedural params. Defaults are tuned for a generic temperate atmosphere; gas-giant callers typically push bandiness and bandFreq higher, while rocky callers push turbulence higher and bandiness lower so the halo reads as soft cells rather than hard belts.


quality? ​

ts
optional quality?: RenderQuality;

Optional render-quality bag — bumps the icosphere detail in 'high'.

Distribué sous la licence indiquée dans le dépôt.