[go: up one dir, main page]

0% found this document useful (1 vote)
464 views37 pages

Analemmatic Sundial PDF Generator

The document describes how to generate a PDF for an analemmatic sundial. It provides instructions for entering location parameters and includes steps for drawing the sundial components like the axes, ellipse, hour labels and tickmarks indicating monthly gnomon positions.

Uploaded by

COTYS2008
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
464 views37 pages

Analemmatic Sundial PDF Generator

The document describes how to generate a PDF for an analemmatic sundial. It provides instructions for entering location parameters and includes steps for drawing the sundial components like the axes, ellipse, hour labels and tickmarks indicating monthly gnomon positions.

Uploaded by

COTYS2008
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 37

Analemmatic Sundial PDF Generator

Analemmatic Sundial PDF Generator


Detailed instructions for using this script are given in my Instructable for it.

For a small, paper sundial project, go here.

Enter location parameters


You must enter the width of the sundial you wish to build, enter either a zip code or latitude/longitude, and select
your timezone and daylight savings option. Required options are in bold.

Sundial width: 100 cm


cm

Zip code: 900075 or Latitude: 44.21 and Longitude:


28.71
Time zone: Eastern
EasternEuropean
StandardTime
Time (North America) (UTC-05)
(UTC+02)
Daylight savings:
No daylight savings at my location
Put summer time on sundial
Put winter time on sundial
Numerals: Roman
Arabic(4=IV)
Include (x,y) coordinates of hour points

Location name: CONSTANTA (e.g., "Paris" or "My backyard")


Include dimensions and instructions

Go!

Source code and references


The source code for this perl script is available here. You need to get sundial.pl and zipcodes.dat, and keep them in
the same directory. You will also need the PDF::Create perl package.

I used formulae from here and here.

Copyright
The script (not including PDF::Create) is copyright (c) 2011 Alexander R. Pruss, and is available under a two-
clause BSD license.. Alexander R. Pruss hereby releases into the public domain any and all copyrightable visual
elements in the output. Courtesy suggests, though the law may not require, that credit be given for use of the script
when you use its output.

http://analemmatic.sourceforge.net/cgi-bin/sundial.pl[5/3/2015 11:04:50 AM]


Step 2: Draw the axes
Make sure to align the N arrow to true north (not magnetic)

139cm

200cm 200cm

139cm

CONSTANTA (Lat.: 44.21N, Lon.: 900075E, TZ: UTC+2)

PENTRU R=200cm r=139cm


Step 3: Draw the ellipse
Use a loop of length 687cm to draw ellipse.

143cm 143cm

N
Step 4a: Draw the hour labels
8 9 10
(0cm,139cm)
(-51cm,135cm) (52cm,135cm)
7 11
(-99cm,121cm) (100cm,121cm)

6 12
(-140cm,99cm) (141cm,99cm)

5 1
(-172cm,70cm) (173cm,70cm)

4 2
(-192cm,36cm) (193cm,36cm)

3
(200cm,0cm)

4
(193cm,-35cm)

5
(173cm,-69cm)

N
6
(141cm,-98cm)

7
(100cm,-120cm)

9 8
(52cm,-134cm)
(0cm,-138cm)
Step 4b: Verify hour label distances
8 9 10
52cm
0cm 52cm
7 102cm
102cm 11
6 12

5 1
115cm
115cm

4 75cm 75cm 2
37cm 37cm

0cm
3
37cm

75cm

115cm
4

5
N
6
0cm
52cm
102cm
7
9 8
Step 5: Draw monthly gnomon position tickmarks
8 9
Put the tickmarks at the indicated distances from the horizontal line.
10
7 11
6 12

5 1
61cm
58cm

47cm

4 38cm
2
21cm

11cm

7cm 3
20cm

36cm
45cm 4
57cm
61cm

5
N
6
7
9 8
Correction
Step 6: Indicate monthly gnomon positions (min.):
Jan 1: +4
Jan 15: +9
Feb 1: +14
Add one hour for summer time
8 9 10
Feb 15: +15
Mar 1: +13
Mar 15: +10
Apr 1: +4
7 11 Apr 15: 0
May 1: -2
May 15: -3
Jun 1: -1
Jun 15: 0

6 12 Jul 1: +4
Jul 15: +6
Aug 1: +6
Aug 15: +4
Sep 1: 0
Sep 15: -5
Oct 1: -10
5 1 Oct 15: -14
Nov 1: -15
Nov 15: -14
Jun Dec 1: -9
Jul Dec 15: -3
May
4 Aug 2
Apr

Sep
Mar 3
Oct
Feb
Nov 4
Jan
Dec

5
N
6
7
CONSTANTA (Lat.: 44.21N, Lon.: 900075E, TZ: UTC+2)

9 8
Step 2: Draw the axes
Make sure to align the N arrow to true north (not magnetic)

41.8cm

60.0cm 60.0cm

41.8cm

CONSTANTA (Lat.: 44.21N, Lon.: 900075E, TZ: UTC+2)

PENTRU R=60cm r=41.8cm


Step 3: Draw the ellipse
Use a loop of length 206.0cm to draw ellipse.

43.0cm 43.0cm

N
Step 4a: Draw the hour labels
8 9 10
(0.0cm,41.8cm)
(-15.5cm,40.4cm) (15.5cm,40.4cm)
7 11
(-30.0cm,36.2cm) (30.0cm,36.2cm)

6 12
(-42.4cm,29.6cm) (42.4cm,29.6cm)

5 1
(-52.0cm,20.9cm) (52.0cm,20.9cm)

4 2
(-58.0cm,10.8cm) (58.0cm,10.8cm)

3
(60.0cm,0.0cm)

4
(58.0cm,-10.8cm)

5
(52.0cm,-20.9cm)

N
6
(42.4cm,-29.6cm)

7
(30.0cm,-36.2cm)

9 8
(15.5cm,-40.4cm)
(-0.0cm,-41.8cm)
Step 4b: Verify hour label distances
8 9 10
15.6cm
0.0cm 15.6cm
7 30.5cm
30.5cm 11
6 12

5 1
34.4cm
34.4cm

4 22.4cm 22.4cm 2
11.0cm 11.0cm

0.0cm
3
11.0cm

22.4cm

34.4cm
4

5
N
6
0.0cm
15.6cm
30.5cm
7
9 8
Step 5: Draw monthly gnomon position tickmarks
8 9
Put the tickmarks at the indicated distances from the horizontal line.
10
7 11
6 12

5 1
18.3cm
17.4cm

14.0cm

4 11.5cm
2
6.4cm

3.2cm

2.2cm 3
6.0cm

10.7cm
13.4cm 4
17.1cm
18.4cm

5
N
6
7
9 8
Correction
Step 6: Indicate monthly gnomon positions (min.):
Jan 1: +4
Jan 15: +9
Feb 1: +14
Add one hour for summer time
8 9 10
Feb 15: +15
Mar 1: +13
Mar 15: +10
Apr 1: +4
7 11 Apr 15: 0
May 1: -2
May 15: -3
Jun 1: -1
Jun 15: 0

6 12 Jul 1: +4
Jul 15: +6
Aug 1: +6
Aug 15: +4
Sep 1: 0
Sep 15: -5
Oct 1: -10
5 1 Oct 15: -14
Nov 1: -15
Nov 15: -14
Jun Dec 1: -9
Jul Dec 15: -3
May
4 Aug 2
Apr

Sep
Mar 3
Oct
Feb
Nov 4
Jan
Dec

5
N
6
7
CONSTANTA (Lat.: 44.21N, Lon.: 900075E, TZ: UTC+2)

9 8
Step 2: Draw the axes
Make sure to align the N arrow to true north (not magnetic)

418cm

600cm 600cm

418cm

CONSTANTA (Lat.: 44.21N, Lon.: 900075E, TZ: UTC+2)

PENTRU R=600cm r=418cm


Step 3: Draw the ellipse
Use a loop of length 2060cm to draw ellipse.

430cm 430cm

N
Step 4a: Draw the hour labels
8 9 10
(0cm,418cm)
(-154cm,404cm) (155cm,404cm)
7 11
(-299cm,362cm) (300cm,362cm)

6 12
(-423cm,296cm) (424cm,296cm)

5 1
(-519cm,209cm) (520cm,209cm)

4 2
(-579cm,108cm) (580cm,108cm)

3
(600cm,0cm)

4
(580cm,-107cm)

5
(520cm,-208cm)

N
6
(424cm,-295cm)

7
(300cm,-361cm)

9 8
(155cm,-403cm)
(0cm,-417cm)
Step 4b: Verify hour label distances
8 9 10
156cm
0cm 156cm
7 305cm
305cm 11
6 12

5 1
344cm
344cm

4 224cm 224cm 2
110cm 110cm

0cm
3
110cm

224cm

344cm
4

5
N
6
0cm
156cm
305cm
7
9 8
Step 5: Draw monthly gnomon position tickmarks
8 9
Put the tickmarks at the indicated distances from the horizontal line.
10
7 11
6 12

5 1
183cm
174cm

140cm

4 115cm
2
64cm

32cm

22cm 3
60cm

107cm
134cm 4
171cm
184cm

5
N
6
7
9 8
Correction
Step 6: Indicate monthly gnomon positions (min.):
Jan 1: +4
Jan 15: +9
Feb 1: +14
Add one hour for summer time
8 9 10
Feb 15: +15
Mar 1: +13
Mar 15: +10
Apr 1: +4
7 11 Apr 15: 0
May 1: -2
May 15: -3
Jun 1: -1
Jun 15: 0

6 12 Jul 1: +4
Jul 15: +6
Aug 1: +6
Aug 15: +4
Sep 1: 0
Sep 15: -5
Oct 1: -10
5 1 Oct 15: -14
Nov 1: -15
Nov 15: -14
Jun Dec 1: -9
Jul Dec 15: -3
May
4 Aug 2
Apr

Sep
Mar 3
Oct
Feb
Nov 4
Jan
Dec

5
N
6
7
CONSTANTA (Lat.: 44.21N, Lon.: 900075E, TZ: UTC+2)

9 8
Step 2: Draw the axes
Make sure to align the N arrow to true north (not magnetic)

244cm

350cm 350cm

244cm

CONSTANTA (Lat.: 44.21N, Lon.: 900075E, TZ: UTC+2)

PENTRU R=350cm r=244cm


Step 3: Draw the ellipse
Use a loop of length 1202cm to draw ellipse.

251cm 251cm

N
Step 4a: Draw the hour labels
8 9 10
(0cm,244cm)
(-90cm,236cm) (91cm,236cm)
7 11
(-174cm,211cm) (175cm,211cm)

6 12
(-246cm,173cm) (247cm,173cm)

5 1
(-302cm,122cm) (303cm,122cm)

4 2
(-337cm,63cm) (338cm,63cm)

3
(350cm,0cm)

4
(338cm,-62cm)

5
(303cm,-121cm)

N
6
(247cm,-172cm)

7
(175cm,-210cm)

9 8
(91cm,-235cm)
(0cm,-243cm)
Step 4b: Verify hour label distances
8 9 10
91cm
0cm 91cm
7 178cm
178cm 11
6 12

5 1
201cm
201cm

4 131cm 131cm 2
64cm 64cm

0cm
3
64cm

131cm

201cm
4

5
N
6
0cm
91cm
178cm
7
9 8
Step 5: Draw monthly gnomon position tickmarks
8 9
Put the tickmarks at the indicated distances from the horizontal line.
10
7 11
6 12

5 1
106cm
101cm

82cm

4 67cm
2
37cm

19cm

13cm 3
35cm

63cm
78cm 4
100cm
107cm

5
N
6
7
9 8
Correction
Step 6: Indicate monthly gnomon positions (min.):
Jan 1: +4
Jan 15: +9
Feb 1: +14
Add one hour for summer time
8 9 10
Feb 15: +15
Mar 1: +13
Mar 15: +10
Apr 1: +4
7 11 Apr 15: 0
May 1: -2
May 15: -3
Jun 1: -1
Jun 15: 0

6 12 Jul 1: +4
Jul 15: +6
Aug 1: +6
Aug 15: +4
Sep 1: 0
Sep 15: -5
Oct 1: -10
5 1 Oct 15: -14
Nov 1: -15
Nov 15: -14
Jun Dec 1: -9
Jul Dec 15: -3
May
4 Aug 2
Apr

Sep
Mar 3
Oct
Feb
Nov 4
Jan
Dec

5
N
6
7
CONSTANTA (Lat.: 44.21N, Lon.: 900075E, TZ: UTC+2)

9 8
Step 2: Draw the axes
Make sure to align the N arrow to true north (not magnetic)

244cm

350cm 350cm

244cm

CONSTANTA (Lat.: 44.21N, Lon.: 900075E, TZ: UTC+2)


Step 3: Draw the ellipse
Use a loop of length 1202cm to draw ellipse.

251cm 251cm

N
Step 4a: Draw the hour labels
VIII IX X
(0cm,244cm)
(-90cm,236cm) (91cm,236cm)
VII XI
(-174cm,211cm) (175cm,211cm)

VI XII
(-246cm,173cm) (247cm,173cm)

V I
(-302cm,122cm) (303cm,122cm)

IV II
(-337cm,63cm) (338cm,63cm)

III
(350cm,0cm)

IV
(338cm,-62cm)

V
(303cm,-121cm)

N
VI
(247cm,-172cm)

VII
(175cm,-210cm)

IX VIII
(91cm,-235cm)
(0cm,-243cm)
Step 4b: Verify hour label distances
VIII IX X
91cm
0cm 91cm
VII 178cm
178cm XI
VI XII

V I
201cm
201cm

IV 131cm 131cm II
64cm 64cm

0cm
III
64cm

131cm

201cm
IV

V
N
VI
0cm
91cm
178cm
VII
IX VIII
Step 5: Draw monthly gnomon position tickmarks
VIII IX
Put the tickmarks at the indicated distances from the horizontal line.
X
VII XI
VI XII

V I
106cm
101cm

82cm

IV 67cm
II
37cm

19cm

13cm III
35cm

63cm
78cm IV
100cm
107cm

V
N
VI
VII
IX VIII
Correction
Step 6: Indicate monthly gnomon positions (min.):
Jan 1: +4
Jan 15: +9
Feb 1: +14
Add one hour for summer time
VIII IX X
Feb 15: +15
Mar 1: +13
Mar 15: +10
Apr 1: +4
VII XI Apr 15: 0
May 1: -2
May 15: -3
Jun 1: -1
Jun 15: 0

VI XII Jul 1: +4
Jul 15: +6
Aug 1: +6
Aug 15: +4
Sep 1: 0
Sep 15: -5
Oct 1: -10
V I Oct 15: -14
Nov 1: -15
Nov 15: -14
Jun Dec 1: -9
Jul Dec 15: -3
May
IV Aug II
Apr

Sep
Mar III
Oct
Feb
Nov IV
Jan
Dec

V
N
VI
VII
CONSTANTA (Lat.: 44.21N, Lon.: 900075E, TZ: UTC+2)

IX VIII
Step 2: Draw the axes
Make sure to align the N arrow to true north (not magnetic)

34.9cm

50.0cm 50.0cm

34.9cm

CONSTANTA (Lat.: 44.21N, Lon.: 28.71E, TZ: UTC+2)


Step 3: Draw the ellipse
Use a loop of length 171.7cm to draw ellipse.

35.8cm 35.8cm

N
Step 4a: Draw the hour labels
XI XII I
(-1.1cm,34.9cm)
(11.9cm,33.9cm)

X
(-14.0cm,33.5cm)
II
(24.0cm,30.6cm)
(-26.0cm,29.8cm)

IX III
(34.6cm,25.2cm)
(-36.1cm,24.1cm)

VIII IV
(42.7cm,18.1cm)
(-43.9cm,16.7cm)

VII V
(48.0cm,9.8cm)
(-48.6cm,8.3cm)

VI VI
(50.0cm,0.8cm)
(-50.0cm,-0.8cm)

V VII
(48.6cm,-8.3cm)
(-48.0cm,-9.8cm)

IV VIII
(43.9cm,-16.7cm)

N
(-42.7cm,-18.1cm)

IX
(36.1cm,-24.1cm)
Step 4b: Verify hour label distances
XI XII I
1.1cm

X 26.5cm
14.1cm 11.9cm
24.4cm II
IX III

VIII IV
27.8cm 29.6cm

VII 17.8cm
19.5cm V
10.0cm
8.4cm

VI 0.8cm
0.8cm
VI
8.4cm
10.0cm

17.8cm

V
19.5cm

27.8cm
VII

IV VIII
N
IX
Step 5: Draw monthly gnomon position tickmarks
XI XII
Put the tickmarks at the indicated distances from the horizontal line.
I
X II
IX III

VIII IV
15.2cm
14.5cm

11.6cm

VII
9.6cm V
5.4cm

2.7cm

VI 1.8cm
VI
5.0cm

V
8.9cm
11.2cm
VII
14.3cm
15.3cm

IV VIII
N
IX
Correction
Step 6: Indicate monthly gnomon positions (min.):
Jan 1: +4
Jan 15: +9
Feb 1: +14
Add one hour for summer time
XI XII I Feb 15: +15
Mar 1: +13
Mar 15: +10
Apr 1: +4

X II Apr 15: 0
May 1: -2
May 15: -3
Jun 1: -1
Jun 15: 0

IX III Jul 1: +4
Jul 15: +6
Aug 1: +6
Aug 15: +4
Sep 1: 0
Sep 15: -5

VIII IV Oct 1: -10


Oct 15: -14
Nov 1: -15
Nov 15: -14
Jun Dec 1: -9
Jul Dec 15: -3
May

VII Aug
V
Apr

Sep
VI Mar
VI
Oct
Feb
V Nov
VII
Jan
Dec

IV VIII
N
IX

CONSTANTA (Lat.: 44.21N, Lon.: 28.71E, TZ: UTC+2)

You might also like