earth_1.ssc   earth_1.ssc 
// Author: Qam1 // Author: Qam1
// Version: 7.0 // Version: 8.0
// License: Public Domain // License: Public Domain
// Name: Earth best views from other bodies // Name: Earth best views from other bodies
// Description: Best views of Earth from other Solar System bodies in the 2 1st Century. // Description: Best views of Earth from other Solar System bodies in the 2 1st Century.
// Made on Stellarium 0.14.0 // Made on Stellarium 0.14.1
//basics //basics
var spd = 5; // speed for screen saver mode in seconds var spd = 5; // speed for screen saver mode in seconds
StelSkyDrawer.setFlagLuminanceAdaptation(false); StelSkyDrawer.setFlagLuminanceAdaptation(false);
var o = 1; var o = 1;
var i = 1; var i = 1;
var sl = StarMgr.getLabelsAmount(); var sl = StarMgr.getLabelsAmount();
var ss = 0; var ss = 0;
// Labels // Labels
var txt1 = LabelMgr.labelScreen("Press = for next outer body", 770, 20, fal se, 15, "#FF0000"); var txt1 = LabelMgr.labelScreen("Press = for next outer body", 770, 60, fal se, 15, "#FF0000");
LabelMgr.setLabelShow(txt1, true); LabelMgr.setLabelShow(txt1, true);
txt1 = LabelMgr.labelScreen("Press - for previous inner body", 770, 40, fa lse, 15, "#FF0000"); txt1 = LabelMgr.labelScreen("Press -+-+- for previous inner body", 770, 80 , false, 15, "#FF0000");
LabelMgr.setLabelShow(txt1, true); LabelMgr.setLabelShow(txt1, true);
txt1 = LabelMgr.labelScreen("Press [ to toggle flags and labels", 770, 60, false, 15, "#FF0000"); txt1 = LabelMgr.labelScreen("Press [ to toggle flags and labels", 770, 100 , false, 15, "#FF0000");
LabelMgr.setLabelShow(txt1, true); LabelMgr.setLabelShow(txt1, true);
txt1 = LabelMgr.labelScreen("Press ] toggle scrren saver mode", 770, 80, f alse, 15, "#FF0000"); txt1 = LabelMgr.labelScreen("Press ] toggle scrren saver mode", 770, 120, false, 15, "#FF0000");
LabelMgr.setLabelShow(txt1, true); LabelMgr.setLabelShow(txt1, true);
txt1 = LabelMgr.labelScreen("By Qam1", 770, 100, false, 15, "#FF0000"); txt1 = LabelMgr.labelScreen("By Qam1", 770, 140, false, 15, "#FF0000");
LabelMgr.setLabelShow(txt1, true); LabelMgr.setLabelShow(txt1, true);
spd = spd * 4; spd = spd * 4;
// program // program
var q = 0; var q = 0;
while (q == 0) while (q == 0)
{ {
if (o == 1) if (o == 1)
{ {
skipping to change at line 77 skipping to change at line 77
} }
if (i == 1) if (i == 1)
{ {
LandscapeMgr.setFlagAtmosphere(false); LandscapeMgr.setFlagAtmosphere(false);
LandscapeMgr.setFlagFog(false); LandscapeMgr.setFlagFog(false);
LandscapeMgr.setCurrentLandscapeID("moon"); LandscapeMgr.setCurrentLandscapeID("moon");
core.setDate("2061-05-31T01:04:47", "utc"); core.setDate("2061-05-31T01:04:47", "utc");
core.setObserverLocation(91.80, 44.24, 7, 1, "", "Mercury"); core.setObserverLocation(91.80, 44.24, 7, 1, "", "Mercury");
StelMovementMgr.zoomTo(90, 1); StelMovementMgr.zoomTo(64, 1);
SolarSystem.setFlagOrbits(false); SolarSystem.setFlagOrbits(false);
sd = 176 sd = 176
sw = 1232; sw = 1232;
} }
if (i == 2) if (i == 2)
{ {
skipping to change at line 105 skipping to change at line 105
SolarSystem.setFlagOrbits(false); SolarSystem.setFlagOrbits(false);
sd = 116; sd = 116;
sw = 1709; sw = 1709;
} }
if (i == 3) if (i == 3)
{ {
i = 4;
LandscapeMgr.setFlagAtmosphere(false); LandscapeMgr.setFlagAtmosphere(false);
LandscapeMgr.setFlagFog(false); LandscapeMgr.setFlagFog(false);
LandscapeMgr.setCurrentLandscapeID("moon"); LandscapeMgr.setCurrentLandscapeID("moon");
core.setDate("2023-01-21T20:57:47", "utc"); core.setDate("2049-01-04T01:10:00", "utc");
core.setObserverLocation(19.7, 39.0, 50, 1, "", "Moon"); core.setObserverLocation(0.7, 0.0, 50, 1, "", "Moon");
StelMovementMgr.zoomTo(12, 1); StelMovementMgr.zoomTo(12, 1);
SolarSystem.setFlagOrbits(false); SolarSystem.setFlagOrbits(false);
sd = 1; sd = 1;
sw = 7; sw = 7;
} }
if (i == 4) if (i == 4)
{ {
skipping to change at line 161 skipping to change at line 159
sw = 7; sw = 7;
} }
if (i == 6) if (i == 6)
{ {
LandscapeMgr.setFlagAtmosphere(true); LandscapeMgr.setFlagAtmosphere(true);
LandscapeMgr.setFlagFog(true); LandscapeMgr.setFlagFog(true);
LandscapeMgr.setCurrentLandscapeID("saturn"); LandscapeMgr.setCurrentLandscapeID("saturn");
core.setDate("2058-07-15T11:52:00", "utc"); core.setDate("2058-07-15T11:52:00", "utc");
core.setObserverLocation(134.71, 27.24, 71492000, 1, "", "Ju piter"); core.setObserverLocation(124.71, 27.24, 71492000, 1, "", "Ju piter");
StelMovementMgr.zoomTo(34, 1); StelMovementMgr.zoomTo(34, 1);
txt1 = LabelMgr.labelScreen("Elongation: 11.849 degrees", 50 0, 10, false, 25, "#AAFFAA"); txt1 = LabelMgr.labelScreen("Elongation: 11.849 degrees", 35 0, 10, false, 25, "#AAFFAA");
LabelMgr.setLabelShow(txt1, true); LabelMgr.setLabelShow(txt1, true);
} }
if (i == 7) if (i == 7)
{ {
LandscapeMgr.setFlagAtmosphere(true); LandscapeMgr.setFlagAtmosphere(true);
LandscapeMgr.setFlagFog(true); LandscapeMgr.setFlagFog(true);
LandscapeMgr.setCurrentLandscapeID("saturn"); LandscapeMgr.setCurrentLandscapeID("saturn");
core.setDate("2031-09-16T10:48:57", "utc"); core.setDate("2031-09-16T10:48:57", "utc");
core.setObserverLocation(-73.71, 9.24, 200000, 1, "", "Satur n"); core.setObserverLocation(-73.71, 9.24, 200000, 1, "", "Satur n");
core.wait(0.1); core.wait(0.1);
StelMovementMgr.zoomTo(28, 1); StelMovementMgr.zoomTo(28, 1);
txt1 = LabelMgr.labelScreen("Elongation: 6.390 degrees", 500 , 10, false, 25, "#AAFFAA"); txt1 = LabelMgr.labelScreen("Elongation: 6.390 degrees", 350 , 10, false, 25, "#AAFFAA");
LabelMgr.setLabelShow(txt1, true); LabelMgr.setLabelShow(txt1, true);
} }
if (i == 8) if (i == 8)
{ {
LandscapeMgr.setFlagAtmosphere(true); LandscapeMgr.setFlagAtmosphere(true);
LandscapeMgr.setFlagFog(true); LandscapeMgr.setFlagFog(true);
LandscapeMgr.setCurrentLandscapeID("saturn"); LandscapeMgr.setCurrentLandscapeID("saturn");
core.setDate("2052-06-16T11:00:00", "utc"); core.setDate("2052-06-16T11:00:00", "utc");
core.setObserverLocation(-76.73, 76.92, 30268000, 1, "", "Ur anus"); core.setObserverLocation(-76.73, 76.92, 30268000, 1, "", "Ur anus");
StelMovementMgr.zoomTo(15.6, 1); StelMovementMgr.zoomTo(15.6, 1);
txt1 = LabelMgr.labelScreen("Elongation: 3.186 degrees", 500 , 10, false, 25, "#AAFFAA"); txt1 = LabelMgr.labelScreen("Elongation: 3.186 degrees", 350 , 10, false, 25, "#AAFFAA");
LabelMgr.setLabelShow(txt1, true); LabelMgr.setLabelShow(txt1, true);
sd = 1; sd = 1;
sw = 7; sw = 7;
} }
if (i == 9) if (i == 9)
{ {
LandscapeMgr.setFlagAtmosphere(true); LandscapeMgr.setFlagAtmosphere(true);
LandscapeMgr.setFlagFog(true); LandscapeMgr.setFlagFog(true);
LandscapeMgr.setCurrentLandscapeID("saturn"); LandscapeMgr.setCurrentLandscapeID("saturn");
core.setDate("2035-07-17T15:00:00", "utc"); core.setDate("2035-07-17T15:00:00", "utc");
core.setObserverLocation(76.71, 1.24, 24764000, 1, "", "Nept une"); core.setObserverLocation(76.71, 1.24, 24764000, 1, "", "Nept une");
StelMovementMgr.zoomTo(10.6, 1); StelMovementMgr.zoomTo(10.6, 1);
txt1 = LabelMgr.labelScreen("Elongation: 1.952 degrees", 500 , 10, false, 25, "#AAFFAA"); txt1 = LabelMgr.labelScreen("Elongation: 1.952 degrees", 350 , 10, false, 25, "#AAFFAA");
LabelMgr.setLabelShow(txt1, true); LabelMgr.setLabelShow(txt1, true);
sd = 1; sd = 1;
sw = 7; sw = 7;
} }
if (i == 10) if (i == 10)
{ {
LandscapeMgr.setFlagAtmosphere(false); LandscapeMgr.setFlagAtmosphere(false);
LandscapeMgr.setFlagFog(false); LandscapeMgr.setFlagFog(false);
skipping to change at line 253 skipping to change at line 251
r = Math.floor(core.getJDay()); r = Math.floor(core.getJDay());
if (Math.abs(r-d) > 0) if (Math.abs(r-d) > 0)
{ {
pak = spd + 1; pak = spd + 1;
core.setDate("+2000 days"); core.setDate("+2000 days");
} }
} }
r = Math.floor(core.getJDay()) + 1; r = Math.floor(core.getJDay()) + 1;
if (i < 3) // why?? if (i == 11) // Why??
{
i = i + 1;
}
if (i == 10) // Why??
{ {
i = i + 1; i = i + 1;
} }
} }
if (i == 90) if (i == 90)
{ {
var d = Math.floor(core.getJDay()*10); var d = Math.floor(core.getJDay()*10);
skipping to change at line 306 skipping to change at line 299
else else
{ {
while (d == r) while (d == r)
{ {
r = Math.floor(core.getJDay()); r = Math.floor(core.getJDay());
} }
} }
if (i < 3) // Merc & venus if (i < 4) // Merc & venus & moon
{ {
sw = 1000 sw = 1000
if ( r - d > 10) if ( r - d > 10)
{ {
if (r - d < 1000) if (r - d < 1000)
{ {
i = i + 1; i = i + 1;
 End of changes. 17 change blocks. 
24 lines changed or deleted 17 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/