Skip to content

Documentation / @interstellar-tools/constants / RING_DISPLAY

Variable: RING_DISPLAY ​

ts
const RING_DISPLAY: ByBodyIdType<RingDisplayType>;

Defined in: bodies/ring-display.ts:17

How to draw the giant planets' rings, keyed by planet id: each as opaque as its densest ring, with Saturn's colour measured from Cassini's images and the others' assumed. derivation says which.

Kept apart from PLANETS; withDisplay puts them on, as the planets' display.rings.

Example ​

ts
RING_DISPLAY.saturn.rings?.opacity; // 0.93