Home Reference Source

Variable

Static Public Summary
public
public
public

EphemPresets: {"MERCURY": *, "VENUS": *, "EARTH": *, "MOON": *, "MARS": *, "JUPITER": *, "SATURN": *, "URANUS": *, "NEPTUNE": *, "PLUTO": *}

A dictionary containing ephemerides of planets and other well-known objects.

public
public
public

GM: {"SUN": number, "MERCURY": number, "VENUS": number, "EARTH_MOON": number, "MARS": number, "JUPITER": number, "SATURN": number, "URANUS": number, "NEPTUNE": number, "PLUTO_CHARON": number}

Standard gravitational parameter for objects orbiting these bodies.

public
public
public
public
public
public
public

SkyboxPresets: {"ESO_GIGAGALAXY": *, "ESO_LITE": *, "NASA_TYCHO": *}

Preset skybox objects that you can use to add a skybox to your visualization.

public

SpaceObjectPresets: {"SUN": *, "MERCURY": *, "VENUS": *, "EARTH": *, "MOON": *, "MARS": *, "JUPITER": *, "SATURN": *, "URANUS": *, "NEPTUNE": *, "PLUTO": *}

Useful presets for creating SpaceObjects.

public

THREE: *

Static Public

public ATMOSPHERE_SHADER_FRAGMENT: string source

import {ATMOSPHERE_SHADER_FRAGMENT} from 'spacekit/src/shaders.js'

public ATMOSPHERE_SHADER_VERTEX: string source

import {ATMOSPHERE_SHADER_VERTEX} from 'spacekit/src/shaders.js'

public EphemPresets: {"MERCURY": *, "VENUS": *, "EARTH": *, "MOON": *, "MARS": *, "JUPITER": *, "SATURN": *, "URANUS": *, "NEPTUNE": *, "PLUTO": *} source

import {EphemPresets} from 'spacekit/src/EphemPresets.js'

A dictionary containing ephemerides of planets and other well-known objects.

Example:

const planet1 = viz.createObject('planet1', {
  ephem: EphemPresets.MERCURY,
});

public GENERIC_PARTICLE_SHADER_FRAGMENT: string source

import {GENERIC_PARTICLE_SHADER_FRAGMENT} from 'spacekit/src/shaders.js'

public GENERIC_PARTICLE_SHADER_VERTEX: string source

import {GENERIC_PARTICLE_SHADER_VERTEX} from 'spacekit/src/shaders.js'

public GM: {"SUN": number, "MERCURY": number, "VENUS": number, "EARTH_MOON": number, "MARS": number, "JUPITER": number, "SATURN": number, "URANUS": number, "NEPTUNE": number, "PLUTO_CHARON": number} source

import {GM} from 'spacekit/src/Ephem.js'

Standard gravitational parameter for objects orbiting these bodies. Units in m^3/s^2

public RING_SHADER_FRAGMENT: string source

import {RING_SHADER_FRAGMENT} from 'spacekit/src/shaders.js'

public RING_SHADER_VERTEX: string source

import {RING_SHADER_VERTEX} from 'spacekit/src/shaders.js'

public SPHERE_SHADER_FRAGMENT: string source

import {SPHERE_SHADER_FRAGMENT} from 'spacekit/src/shaders.js'

public SPHERE_SHADER_VERTEX: string source

import {SPHERE_SHADER_VERTEX} from 'spacekit/src/shaders.js'

public STAR_SHADER_FRAGMENT: string source

import {STAR_SHADER_FRAGMENT} from 'spacekit/src/shaders.js'

public STAR_SHADER_VERTEX: string source

import {STAR_SHADER_VERTEX} from 'spacekit/src/shaders.js'

public SkyboxPresets: {"ESO_GIGAGALAXY": *, "ESO_LITE": *, "NASA_TYCHO": *} source

import {SkyboxPresets} from 'spacekit/src/Skybox.js'

Preset skybox objects that you can use to add a skybox to your visualization.

Example:

const skybox = viz.createSkybox(Spacekit.SkyboxPresets.NASA_TYCHO);

public SpaceObjectPresets: {"SUN": *, "MERCURY": *, "VENUS": *, "EARTH": *, "MOON": *, "MARS": *, "JUPITER": *, "SATURN": *, "URANUS": *, "NEPTUNE": *, "PLUTO": *} source

import {SpaceObjectPresets} from 'spacekit/src/SpaceObject.js'

Useful presets for creating SpaceObjects.

Example:

const myobject = viz.addObject('planet1', Spacekit.SpaceObjectPresets.MERCURY);

public THREE: * source

import {THREE} from 'spacekit/src/spacekit.js'