Page 1 of 1
Display custom data
Posted: 24.02.2019, 13:57
by lastant
Is it somehow possible to display somewhere custom data, for example object's current distance to Sun or its current velocity, acceleration etc? For instance in the top left or bottom left corner as text, or to color-code the orbit line.
Posted: 24.02.2019, 18:01
by onetwothree
With CELX scripting this should be possible.
Posted: 25.02.2019, 09:34
by lastant
onetwothree, any sample code or at least a function name?
Posted: 25.02.2019, 10:07
by Croc
lastant,
in the Lua Universal Tools GUI (Lua Edu Tools) there is a KEPLERIAN PARAMETERS tool.
Perhaps there is some data in it. Examine the tool code (version of Lua Edu Tools). Create new algorithms for new parameters.
Posted: 26.02.2019, 11:56
by onetwothree
lastant wrote:any sample code or at least a function name?
Basically, celestia:print, but Croc provided a better variant with Lua Edu Tools.