Velocities on J2000 taken from JPL: https://wgc.jpl.nasa.gov:8443/webgeocalc/#StateVector Masses and radi taken from a combination of JPL and Wikipedia.
?
to open/close this help page)UP ARROW
to zoom inDOWN ARROW
to zoom outClick+drag
to rotateR
to look at the next body (ordered by mass)F
to look at the previous body (ordered by mass)SHIFT+Q
to increase rotation speed when click+draggingSHIFT+A
to decrease rotation speed when click+draggingCTRL
to set view to top down looking down on the eclipticSHIFT+CTRL
to set view to looking along the eclipticSHIFT+Z
to set view to looking top down, axis aligning x & y rotationZ
to zoom out to looking top down, axis aligning x & y rotation, and setting size of bodies to true scaleP
to go to next presetSHIFT+P
to go to previous presetSHIFT+R
to reset to back to Jan 1st, 2000 (fast, and good to do if things get off)W
to increase step sizeS
to decrease step sizeLEFT Arrow
toggle reverse timeW+UP ARROW
to increase steps per frameW+DOWN ARROW
to decrease steps per frameW+LEFT ARROW
to set 1 step per frameW+RIGHT ARROW
to set 100 steps per frameSPACE
to set step size to ~real timeSHIFT+SPACE
to set step size to 1 hour per frameN
to simulate up to today's date (may take a while)Q
to increase size of bodies exponentially by radiusA
to decrease size of bodies exponentially by radiusE
to increase minimum size of bodiesD
to decrease minimum size of bodiesSHIFT+E
to increase minimum size of bodies 10xSHIFT+D
to decrease minimum size of bodies 10xBACKSPACE
to set size of bodies to true scaleSHIFT+BACKSPACE
to set size of bodies to exaggerated scaleSHIFT+N
to toggle hide body namesH
to hide current selected bodySHIFT+H
to hide toggle hide all bodies except currently selected body`
to hide stats1
to toggle visual lock with sunT
to toggle trailsB
to toggle relative to selected body vs relative to SunSHIFT+T
to toggle dotted trailsT+UP ARROW
increase trails dot rateT+DOWN ARROW
decrease trails dot rateT+LEFT ARROW
set trails dot rate to 1/frameT+RIGHT ARROW
set trails dot rate to 10/frameSHIFT+T+UP ARROW
increase trails stroke widthSHIFT+T+DOWN ARROW
decrease trails stroke widthO
increase points per trailL
decrease points per trailYou can use these commands by going into the console (F12 on Chrome, may vary by browser)
This function will simulate up to the next point in which to bodies reach their closest part of a flyby.
The bodys can be grabbed from the nbody
object where they key for a body is its name.
initialStepSize
is the amount of time in seconds that the steps are when simulating, and then it will binary search its way precision
times to get closer to the moment of closest approach. Both initialStepSize
and precision
are optional, the default step size is 360 (6 minutes), and default precision is 5.
One application for this would be simulating up to the next potential Venus transit:
//getNextApproach(bodya,bodyb,precision*);
getNextApproach(nbody.Earth,nbody.Venus);
Using a body that's not part of the currently selected preset will not work, although it will still work if one or both of the bodies are hidden.
Similar to getNextApproach()
but instead of looking for an approach, it targets a specific date, and for precision, it resets back to J2000 before simulating.
date
is the date in milliseconds from 1970, initialStepSize
and precision
work the same as in getNextApproach()
One application for this would be going to the date of an interesting event, like the 2004 Venus transit:
goToDate(new Date("June 8, 2004").getTime())