t00fri wrote:As I wrote already elsewhere, another similarly interesting application would be scripts that mark the 10000+ asteroids from the official catalog (once they are all implemented).
I had done such a plot of the asteroid belt already years ago
Fridger,
Here's a celx script that marks all asteroids in our Solar System :
Code: Select all
function mark_asteroids()
sol = celestia:find("Sol")
sol_bodies = sol:getchildren()
for k,v in pairs(sol_bodies) do
if v:getinfo().type == "asteroid" then
v:mark( "yellow", "disk", 1, 1)
end
end
end
celestia:unmarkall()
mark_asteroids()
I tested it with the MainBeltAsteroidsAbridged.ssc file, and here's the result (click to enlarge):

I'm really looking forward to testing it with your 10000+ asteroids catalog !
