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).
opacityis a visual alpha in the range [0..1].densityis 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.
| id | name | parent | innerRadius | outerRadius | display.color | display.opacity | display.density |
|---|---|---|---|---|---|---|---|
| main-asteroid-belt | Main Asteroid Belt | sun | 2.1 au | 3.3 au | #C4C4C4 | 0.3 | 0.8 |
| kuiper-belt | Kuiper Belt | sun | 30 au | 50 au | #88CCEE | 0.2 | 0.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"