Wednesday, June 05, 2013

moving the Sun and Moon against the fixed stars in Stellarium

Wanted to mimic the "Annular motion" of the planetarium instrument, where the stars remain fixed, but the Sun and Moon move across the Zodiac along the ecliptic. Googled Stellarium move sun moon fixed stars and so on, finally hit upon the setDate("+1 days sidereal")
function, which moves the time ahead by one sidereal day, i.e. stars will be at the same spot. Keyboard shortcut Alt + + and Alt + -

Trying it out, found that my Stellarium version 0.10.2 is quite finicky. If a function call is wrong, the script just doesn't run. setDate is case sensitive, and can be in the format
as also "2008-03-24T13:21:01" as given in the documentation. But got it working, finally, copying the syntax from the working landscapes.ssc script.

No comments:

Post a Comment