I found this nice online javascript program:
http://nathangeffen.webfactional.com/spacetravel/spacetravel.php
Is it possible to integrate something like this into Celestia?
I mean
1.) mark a destination star or planet (automatic distance input)
2.) input spacecraft mass, acceleration, maximum speed, fuel energy conversion rate
3.) output fuel mass and traveling time.
Can it be done?
Interstellar travel calculator
Do you know any similar script I can download?
The only slightly similar one I found is "Two Objects Relative Info" CELX. This script displays relative Distance, Latitude and Longitude, as well as speeds: Total, Radial, Transversal and Angular for any 2 objects.
http://www.celestiamotherlode.net/creators/SU(3)xSU(2)xU(1)/2ObjectsRelativeInfov2.zip
The only slightly similar one I found is "Two Objects Relative Info" CELX. This script displays relative Distance, Latitude and Longitude, as well as speeds: Total, Radial, Transversal and Angular for any 2 objects.
http://www.celestiamotherlode.net/creators/SU(3)xSU(2)xU(1)/2ObjectsRelativeInfov2.zip
Here's an external calculator written in javascript. Maybe someone could translate it into Lua.
http://nathangeffen.webfactional.com/spacetravel/spacetravel.php
http://nathangeffen.webfactional.com/spacetravel/spacetravel.php
Selden