Skip to content

Documentation / @interstellar-tools/constants / ASTEROID_BELTS

Variable: ASTEROID_BELTS ​

ts
const ASTEROID_BELTS: AsteroidBeltsType;

Defined in: bodies/asteroid-belts.ts:30

Predefined asteroid belts in the solar system visualization.

INFO

  • Radii are in astronomical units (au).

  • opacity is a visual alpha in the range [0..1].

  • density is a relative visual density for rendering, not physical.

  • Sources: compiled from public references, mainly NASA, NASA JPL, ESA and Wikipedia. See data sources.

Full list of asteroid belts in the dataset ​

This list is not an exhaustive list, and addition/changes will be added over time.

idnameparentinnerRadiusouterRadiusdisplay.colordisplay.opacitydisplay.density
main-asteroid-beltMain Asteroid Beltsun2.1 au3.3 au#C4C4C40.30.8
kuiper-beltKuiper Beltsun30 au50 au#88CCEE0.20.5

Example item in dataset:

ts
{
  id: 'main-asteroid-belt',
  name: 'Main Asteroid Belt',
  parent: 'sun',
  innerRadius: { value: 2.1, unit: 'au' },
  outerRadius: { value: 3.3, unit: 'au' },
  display: {
    color: '#C4C4C4', // Light gray (rocky bodies)
    opacity: 0.3,
    density: 0.8
  }
},

Example ​

ts
console.log(ASTEROID_BELTS[0].name); // "Main Asteroid Belt"

See ​