Documentation / @interstellar-tools/types / RingDisplayType
Type Alias: RingDisplayType
ts
type RingDisplayType = Pick<DisplayInterface, 'rings' | 'derivation'>;Defined in: celestial-bodies/observation-groups.ts:78
How to draw a planet's rings, and why the values are what they are. A part of DisplayInterface.
Example
ts
const saturn: RingDisplayType = {
rings: { color: '#cabcba', opacity: 0.93, shadows: true }
};