Home Reference Source

References

summary
public

C Camera

A wrapper for Three.js camera and controls.

public

C Ephem

A class representing Kepler ephemerides.

public

A class for fetching orbital elements of natural satellites in our solar system.

public

An efficient way to render many objects in space with Kepler orbits.

public

C Orbit

A class that builds a visual representation of a Kepler orbit.

public

This class simulates an object that spins according to provided rotational parameters.

public
public

The main entrypoint of a visualization.

public

C Skybox

A class that adds a skybox (technically a skysphere) to a visualization.

public

An object that can be added to a visualization.

public

Simulates a planet or other object as a perfect sphere.

public

C Stars

Builds a starry background that is accurate for the Earth's position in space.

public
public

F eclipticToEquatorial_Cartesian(x: *, y: *, z: *, tilt: *): undefined[]

public

F equatorialToEcliptic_Cartesian(x: *, y: *, z: *, tilt: *): undefined[]

public

Get Earth's obliquity and nutation at a given date.

public

Get Earth's obliquity at a given date.

public

F sphericalToCartesian(ra: *, dec: *, dist: *): undefined[]

public

Get the number of units per AU.

public

F rescale(args: ...*): *

public

F rescaleArray(XYZ: *): undefined[]

public

F rescaleNumber(x: *): *

public

F rescalePos(pos: *): *

public

F rescaleVector(vec: *): *

public

F rescaleXYZ(X: *, Y: *, Z: *): undefined[]

public

F setScaleFactor(val: *)

Set the number of units per AU.

public

F auToKm(au: *): *

public

F decimalToSexagesimalDec(decimal: *, isObserverBelowEquator: boolean): undefined[]

public
public

F deg(val: *): *

public

F hoursToDeg(val: *): *

public

F kmToAu(km: *): *

public

F rad(val: *): *

public

F sexagesimalToDecimalDec(decDeg: *, decMin: *, decSec: *, isObserverBelowEquator: boolean): *

public

F sexagesimalToDecimalRa(raHour: *, raMin: *, raSec: *): *

public
public

F getFullTextureUrl(template: String, basePath: String): *

Returns the complete URL to a texture given a basepath and a template url.

public

F getFullUrl(template: String, basePath: String): *

Returns the complete URL to a texture given a basepath and a template url.

public

F getThreeJsTexture(template: *, basePath: *): *

public

V 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

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

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

public

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

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

public

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

Useful presets for creating SpaceObjects.

public
public
public
public
public
public
public
public
public
public
public

V THREE: *