Skip to content

astro.Function.isInvisibleRing

github-actions[bot] edited this page Aug 28, 2026 · 1 revision

@elite-dangerous-almanac/core / astro / isInvisibleRing

Function: isInvisibleRing()

isInvisibleRing(ring): boolean

Defined in: src/astro/body-rings.ts:183

Whether the game leaves a ring undrawn — present in the scan, invisible in the sky.

Parameters

ring

BodyRing

The ring. Needs the fields ringSurfaceDensity needs.

Returns

boolean

true when the ring meets both conditions. A ring whose density cannot be computed is reported as visible, because there is no evidence it is not.

Remarks

A ring both very wide and very diffuse has nothing to catch the light, and the game renders nothing where the scan says a ring is. The test is Canonn's, and it is an observational heuristic rather than a rule read out of the game: wider than VISIBLE_RING_MAX_WIDTH and thinner than VISIBLE_RING_MIN_SURFACE_DENSITY. Either one alone still draws.

Throws

If ring is not an object.

Example

import { isInvisibleRing } from '@elite-dangerous-almanac/core/astro/body-rings';

// Two million km wide and next to no mass in it.
const faint = { Name: 'A Ring', RingClass: 'eRingClass_Icy', MassMT: 1e6, InnerRad: 1e9, OuterRad: 3e9 };
isInvisibleRing(faint); // -> true

// The same mass packed into a narrow ring is drawn.
const narrow = { Name: 'A Ring', RingClass: 'eRingClass_Icy', MassMT: 1e6, InnerRad: 1e9, OuterRad: 1.1e9 };
isInvisibleRing(narrow); // -> false

API

Guides
astro
Classes (1)
ProceduralSystem

Properties

Accessors

Methods

Interfaces (28)
Type Aliases (6)
Variables (22)
Functions (57)
Subpath modules (3)
commodities
Interfaces (1)
Type Aliases (1)
Variables (3)
Functions (3)
equipment
Interfaces (6)
Type Aliases (8)
Variables (3)
Functions (10)
Subpath modules (2)
i18n
Interfaces (1)
Type Aliases (1)
Functions (17)
materials
Enumerations (2)
Interfaces (2)
Type Aliases (2)
Variables (9)
Functions (9)
ships
Classes (3)
BuildMetrics

Methods

LoadoutEditError

Constructors

Properties

Methods

ShipLoadout

Accessors

Methods

Interfaces (125)
Type Aliases (44)
Variables (10)
Functions (85)
Subpath modules (8)

Clone this wiki locally