1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
//
// Name: Jupiter Moons
// License: Public Domain
// Author: C. Gaudion FRAS, Bridgend Astronomical Society
// Version: 20250707
// Description: Jupiter's Moons Orbital Simulation
LandscapeMgr.setFlagAtmosphere(false);
LandscapeMgr.setFlagLandscape(false);
StelMovementMgr.setEquatorialMount(true);
core.wait(2);
defaultWait = 10;
LabelMgr.labelScreen("Bridgend Astronomical Society - Jupiter's Moons Orbital Simulation v20250707",400,50,true,25,"#ffffff");
LabelMgr.labelScreen("Note: Jupiter may not actually be visible from your location at this time.",400,100,true,25,"#ffffff");
core.wait(5);
LabelMgr.labelScreen("There are 95 moons of Jupiter with confirmed orbits as of 5 February 2024.",400,150,true,25,"#ffffff");
core.wait(5);
LabelMgr.labelScreen("The most massive of the moons are the four Galilean moons (may not be visible if behind Jupiter in their orbit):",400,200,true,25,"#ffffff");
core.wait(5);
LabelMgr.labelScreen("Io ( Jupiter I ), innermost and second smallest of the four. Has over 400 active volcanoes. ",400,250,true,25,"#ffffff");
core.selectObjectByName("Io", true);
StelMovementMgr.autoZoomIn(6,1);
core.wait(defaultWait);
StelMovementMgr.autoZoomOut(6); // Zoom back out
LabelMgr.labelScreen("Europa ( Jupiter II ), smallest of the four and the closest icy moon to Jupiter. ",400,300,true,25,"#ffffff");
core.selectObjectByName("Europa", true);
StelMovementMgr.autoZoomIn(6);
core.wait(defaultWait);
StelMovementMgr.autoZoomOut(6); // Zoom back out
LabelMgr.labelScreen("Ganymede ( Jupiter III ), Largest moon in the solar system. ",400,350,true,25,"#ffffff");
core.selectObjectByName("Ganymede", true);
StelMovementMgr.autoZoomIn(6);
core.wait(defaultWait);
StelMovementMgr.autoZoomOut(6); // Zoom back out
LabelMgr.labelScreen("and Callisto ( Jupiter IV ), second largest moon of Jupiter and heavily cratered. ",400,400,true,25,"#ffffff");
core.selectObjectByName("Callisto", true);
StelMovementMgr.autoZoomIn(6);
core.wait(defaultWait);
StelMovementMgr.autoZoomOut(6); // Zoom back out
LabelMgr.deleteAllLabels();
LabelMgr.labelScreen("BAS - Jupiter's Moons Orbital Simulation will now run. (use the << >> menu options to adjust speed of sim.)",400,50,true,25,"#ffffff");
core.selectObjectByName("Jupiter", true);
StelMovementMgr.autoZoomIn(6);
core.setTimeRate(1500);
core.wait(40);
LabelMgr.deleteAllLabels();
LabelMgr.labelScreen("Simulation now complete",400,50,true,25,"#ffffff");
LabelMgr.labelScreen("Display will restore previous config.",400,100,true,25,"#ffffff");
core.wait(5);
// clean up and restore config previous to script running
StelMovementMgr.autoZoomOut();
LabelMgr.deleteAllLabels();
core.setRealTime();
LandscapeMgr.setFlagAtmosphere(true);
LandscapeMgr.setFlagLandscape(true);
StelMovementMgr.setEquatorialMount(false);
//End of Simulation
|