Skip to content

Documentation / @interstellar-tools/types / DisplayCloudsInterface

Interface: DisplayCloudsInterface ​

Defined in: celestial-bodies/display.ts:246

How to draw a cloud layer over a solid surface.

Properties ​

color ​

ts
color: string;

Defined in: celestial-bodies/display.ts:248

The clouds' colour.


coverage ​

ts
coverage: number;

Defined in: celestial-bodies/display.ts:250

The share of the disc they cover, 0–1; 1 hides the surface.


drift? ​

ts
drift?: number;

Defined in: celestial-bodies/display.ts:252

How fast they move against the surface, as a share of the body's spin: 0 still.