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).


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.


Scenes

Scenes tailored by call arguments (described below):

Max star count:

Directions:

Constellations:

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

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

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


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?hygdata_v3_mag_sorted_min2&epoch=2000&n=46954&d=5000&att=0.1&con=&i=0&j=-1&fov=50&a=0.001&r_a=6&dec=0&animbeg=0&animend=1000000&anims=100&moves=5&rots=2&clean=0&header=0&ast=0&grid=0&close=0
This permits tailoring scenes directly in the URL, e.g. to share with others. The arguments are:


JSON data

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

[
  {"name":"Sol ()","amag":4.850,"ci":0.656,"x":0.000005,"y":0.000000,"z":0.000000,"vx":0.00000000,"vy":0.00000000,"vz":0.00000000},
  {"name":"Sirius (CMa)","amag":1.454,"ci":0.009,"x":-0.494323,"y":2.476731,"z":-0.758485,"vx":0.00000953,"vy":-0.00001207,"vz":-0.00001221},
  {"name":"Canopus (Car)","amag":-5.504,"ci":0.164,"x":-5.992679,"y":57.132034,"z":-75.396105,"vx":-0.00001140,"vy":0.00002059,"vz":-0.00001049},
  {"name":"Arcturus (Boo)","amag":-0.307,"ci":1.239,"x":-8.823448,"y":-5.932531,"z":3.698938,"vx":-0.00005905,"vy":0.00003220,"vz":-0.00010473},
  ...
  {"name":"NN 3693 ()","amag":17.134,"ci":1.72,"x":-14.050740,"y":0.375012,"z":1.725275,"vx":0.00005281,"vy":-0.00002395,"vz":-0.00006825}
]
    

The parameters are: