Voyager 2 Script
Posted: 06.08.2003, 01:29
Here are the basics of a Voyager 2 script (starting at Jupiter encounter) that I'm working on. It's loosely supposed to mimick the excellent JPL animations of the early 80s. Because the various rotations and fly pasts are time interval dependant, the degree to which it works will vary from computer to computer. I'm still learning this stuff and haven't figured out how to make the various movements and slews independant of variables such as 'duration' etc. I'm also yet to do the major satellite encouters etc. Again, this is JUST the basic 4 planet flybys. I'm using Kalaus Gierloff's voyager package and "Jack's" xyz's.
Paul
{
labels {clear "galaxies|moons|asteroids|constellations|stars|planets|spacecraft" }
time {jd 2444060.97094}
select { object "Voyager 2" }
gotolonglat {distance 2 longitude 120 latitude 10 up [0 1 0] time 1}
wait { duration 2 }
follow { }
timerate {rate 30000.0}
select { object "jupiter" }
lock { }
center { }
wait { duration 14 }
select { object "Voyager 2" }
timerate { rate 20000 }
orbit { axis [ 0 1 0 ] rate -40 duration 5 }
wait { duration 1 }
time {jd 2444840.72903}
select { object "saturn" }
lock { }
wait { duration 12 }
timerate { rate 20000 }
orbit { axis [ 0 1 0 ] rate -40 duration 5 }
wait { duration 1 }
time {jd 2446453.72903}
select { object "uranus" }
lock { }
center { }
wait { duration 10 }
timerate { rate 8000 }
orbit { axis [ 0 1 0 ] rate -40 duration 4 }
wait { duration 1 }
time {jd 2447763.04167}
select { object "neptune" }
lock { }
center { }
wait { duration 8 }
orbit { axis [ 0 1 0 ] rate 20 duration 1 }
}
Paul
{
labels {clear "galaxies|moons|asteroids|constellations|stars|planets|spacecraft" }
time {jd 2444060.97094}
select { object "Voyager 2" }
gotolonglat {distance 2 longitude 120 latitude 10 up [0 1 0] time 1}
wait { duration 2 }
follow { }
timerate {rate 30000.0}
select { object "jupiter" }
lock { }
center { }
wait { duration 14 }
select { object "Voyager 2" }
timerate { rate 20000 }
orbit { axis [ 0 1 0 ] rate -40 duration 5 }
wait { duration 1 }
time {jd 2444840.72903}
select { object "saturn" }
lock { }
wait { duration 12 }
timerate { rate 20000 }
orbit { axis [ 0 1 0 ] rate -40 duration 5 }
wait { duration 1 }
time {jd 2446453.72903}
select { object "uranus" }
lock { }
center { }
wait { duration 10 }
timerate { rate 8000 }
orbit { axis [ 0 1 0 ] rate -40 duration 4 }
wait { duration 1 }
time {jd 2447763.04167}
select { object "neptune" }
lock { }
center { }
wait { duration 8 }
orbit { axis [ 0 1 0 ] rate 20 duration 1 }
}