Jump to content

Browser based orbit calculator


Recommended Posts

A simple JavaScript orbit calculator. Click+drag on the left of Kerbin to set periapsis, on the right of Kerbin for apoapsis, or use the text boxes to enter them numerically. If you enter altitude and a velocity above escape velocity, it'll give you excess velocity at infinity. (Display of the resulting parabola/hyperbola isn't yet implemented, don't be alarmed when your orbit disappears)

The apoapsis and periapsis textboxes are altitudes above ground, the report in the text field is from the center of Kerbin.

The blue circle is Kerbin itself, the circle around it is the top of the atmosphere.

Requires a web browser that supports the canvas tag. Should work fine in Safari, Firefox, or Chrome.

Link to comment
Share on other sites

It's a lot more legible if you round all the numbers before displaying them - after all, we barely have meter-level accuracy right now, much less seven digits past the decimal point :)

That being said, this is really awesome.

Link to comment
Share on other sites

It's a lot more legible if you round all the numbers before displaying them - after all, we barely have meter-level accuracy right now, much less seven digits past the decimal point :)

Indeed, they were just printed without any formatting, which filled the report with meaningless digits. Cleaned that up a bit.

The new version is posted in the Projects and Releases forum: http://kerbalspaceprogram.com/forum/index.php?topic=683.0

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...