File: phobos_phun_3.ssc

package info (click to toggle)
stellarium 25.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,307,224 kB
  • sloc: ansic: 317,377; cpp: 214,435; xml: 48,592; javascript: 26,073; python: 2,113; perl: 734; sh: 247; makefile: 192; pascal: 169
file content (42 lines) | stat: -rw-r--r-- 875 bytes parent folder | download | duplicates (2)
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
//
// Author: Qam1
// Name: Eclipse from Olympus Mons Jan 2, 2021
// Version: 5.0
// License: Public Domain
// Description: Phobos eclipsing the Sun as seen from Olympus Mons on Jan 2, 2021.
//

LandscapeMgr.setCurrentLandscapeID("mars");

core.setDeltaTAlgorithm("WithoutCorrection");

LandscapeMgr.setFlagAtmosphere(true);
core.setTimeRate(1);
core.setDate("2021-01-02T04:57:00", "utc");
core.setObserverLocation(-132.94, 18.2, 27012, 0, "Olympus Mons", "Mars");
core.selectObjectByName("Sun", pointer = true);

StelMovementMgr.setFlagTracking(true);

core.selectObjectByName("Phobos", pointer = true);

StelMovementMgr.zoomTo(1.8, 1);

core.setTimeRate(1);
core.wait(10);

StelMovementMgr.zoomTo(1.2, 1);

core.wait(5);

StelMovementMgr.zoomTo(0.8, 1);

core.wait(37);

StelMovementMgr.zoomTo(1.8, 1);

core.waitFor(5);

StelMovementMgr.zoomTo(4.8, 1);

core.stopScript();