forked from Stellarium/stellarium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zodiac.ssc
34 lines (28 loc) · 1.03 KB
/
zodiac.ssc
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
// Name: Zodiac
// Author: Matthew Gates
// License: Public Domain
// Version: 1.0
// Description: This script displays the constellations of the Zodiac.
// That means the constellations which lie along the line which
// the Sun traces across the celestial sphere over the course
// of a year.
//
var constellations = new Array("Gemini", "Cancer", "Leo", "Virgo", "Libra", "Scorpius", "Ophiuchus", "Sagittarius", "Capricornus", "Aquarius", "Pisces", "Aries", "Taurus");
core.setDate("2006:03:14T21:21:32");
core.clear("deepspace");
core.moveToRaDec("17h 53m 0s", "66d 25m 0s");
StelMovementMgr.zoomTo(210, 5);
core.wait(5);
ConstellationMgr.setFlagIsolateSelected(true);
ConstellationMgr.setFlagArt(true);
ConstellationMgr.setFlagLabels(true);
ConstellationMgr.setArtIntensity(0.6);
for(i=0; i<constellations.length; i++)
{
core.selectObjectByName(constellations[i], false);
core.wait(0.6);
}
core.wait(1);
ConstellationMgr.setFlagBoundaries(true);
core.wait(1);
GridLinesMgr.setFlagEclipticLine(true);