Binders World

three.js - Astronomy

Astronomical apps using WebGL and three.js. CC BY 4.0


Interactive 3D stellarium

Interactive stellarium showing up to 377,880 (default 46,954) of the brightest stars down to apparent magnitude 10.0 (default 8.0), or up to 527453 of the nearest galaxies.

Constellation Orion


Contents

On this page.

Top


Introduction

General properties of the app and preset examples.

Top


Constellation and star search

Constellations can be searched by IAU abbreviation (3 letters) or (part of) Latin name.

Stars can be searched by catalog index (e.g. "[1]..." for Sirius) or (part of) name, where only one name is given in catalog in approximate priority order:

See JSON catalog file for full list of searchable names.

Top


Scenes

Scenes tailored by call arguments (described below):

Max star count: proj.

Directions: proj.

Constellations: proj.

Near stars: proj.
(year -1,000,000 - 1,000,000 CE, tracked on "Start animation")

Fast stars: proj.
(year -1,000,000 - 1,000,000 CE, tracked on "Start animation")

Bright stars: proj.
(year -1,000,000 - 1,000,000 CE, tracked on "Start animation")

Far stars: proj.
(year 2000 CE, tracked on "Start animation")

Nearby galaxies
(year 2000 CE, 863 galaxies from Karachentsev 2013 with R < 11 Mpc or RV < 600 km/s)

Galaxies: Camera distance: proj.
(year 2000 CE, 527453 galaxies from HyperLeda with R < 380 Mpc)

Top


User interface parameters

Top


Call arguments

The default start view shows the stars around α 06h δ 00°, mainly the constellation Orion, but various parameters can be set by adding arguments to the URL, so the basic call
http://binders.world/threejs/astro/stars1.html
corresponds to the defaults
http://binders.world/threejs/astro/stars1.html?json=simbad_magv10_05&j=2000&sd=0&n=46954&dpx=5000&att=0.1&fov=50&u=0&m=0&cold=0&spot=0&dark=0.2&moves=5&rots=2&anims=120&animbeg=0&animend=1000000&f=0&a=0&g=0&h=0&c=0&d=0.001&grpmark=&con=&r_a=6&dec=0&s=-1&o=0&w=-1&near=0
This permits tailoring scenes directly in the URL, e.g. to share with others. The *show parameters can be used to tailor the user interface by hiding (=0) or showing (=1) parameters. The arguments are (type /unit/ [default] min - max / step):

Top


JSON data

The structure of the JSON file with object data is similar to below:

{
  "el_la":[
    {"el":"α","la1":"a","la3":"alp","la9":"alpha"},
    ...
    {"el":"Ω","la1":"W","la3":"Ome","la9":"Omega"}
  ],
  "figs":[
    {"id":"And","name":"Andromeda","desc":"the chained princess","r_a":1.0,"dec":37,"fov":40,"line1is":[55,219,219,54,54,61],"line2is":[219,604,604,485,485,617,219,597,597,569,569,315,569,519,519,389,597,54,54,414,414,667,667,554,554,295]},
    ...
    {"id":"Vul","name":"Vulpecula","desc":"the fox","r_a":20.2,"dec":24,"fov":40,"line1is":[],"line2is":[630,357]}
  ],
  "figObjs":[
    {"i":0,"name":"Sol ()","amag":4.850,"ci":0.656,"x":0.000005,"y":0.000000,"z":0.000000,"vx":0.000000000,"vy":0.000000000,"vz":0.000000000},
    ...
    {"i":755,"name":"η Men","amag":-1.043,"ci":1.516,"x":14.417430,"y":49.614354,"z":-191.976142,"vx":-0.000008274,"vy":0.000053965,"vz":-0.000010069}
  ],
  "grps":[
    {"key":"LSC","name":"Laniakea SC","n":0},
    ...
    {"key":"ACOS1165","name":"ACO S 1165","n":4}
  ],
  "objs":[
    {"i":0,"pgc":5064336,"name":"Milky Way","grps":",LSC,VirSC,LG,LG-MW,","amag":-21.50,"ci":0.70,"x":-437,"y":-6983,"z":-3879,"vx":0,"vy":0,"vz":0},
    ...
    {"i":527452,"pgc":6773797,"name":"PGC 6773797","grps":"","amag":-20.80,"ci":0.70,"x":-173231748,"y":-290430094,"z":172971340,"vx":0,"vy":0,"vz":0}
  ]
}
    

The objects are:

The parameters are:

Top