/usr/share/stellarium/scripts/analemma.ssc is in stellarium-data 0.15.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | //
// Author: Alexander Wolf
// Version: 1.0
// License: Public Domain
// Name: Analemma
// Description: A demonstration of the analemma - the path of the Sun across the sky during the year.
//
core.goHome();
label = LabelMgr.labelScreen("Analemma", 20, 20, false, 30, "#aa0000");
LabelMgr.setLabelShow(label, true);
core.wait(1);
GridLinesMgr.setFlagAzimuthalGrid(true);
GridLinesMgr.setFlagMeridianLine(true);
core.setObserverLocation(0, 30, 1, 1, "", "Earth");
core.setDate("2012-06-22T12:00:00", "utc");
StelMovementMgr.zoomTo(160, 5);
core.wait(5);
for (i=0; i<52; i++)
{
core.setDate("+1 week");
LabelMgr.setLabelShow(label, false);
j = i + 1;
label = LabelMgr.labelScreen("Week " + j, 20, 20, false, 30, "#aa0000");
LabelMgr.setLabelShow(label, true);
core.wait(.1);
}
|