ALL: sundialhv.jpg sundialhv_large.jpg sundialh.jpg sundialh_large.jpg sundial.ogv
sundialh.png: sundialh.pov
	povray -H600 -W800 +A0.1 sundialh.pov
sundialhv.jpg: sundialhv.png
	convert -resize 400x sundialhv.png sundialhv.jpg
sundialhv_large.jpg: sundialhv.png
	convert sundialhv.png sundialhv_large.jpg
sundialhv.png: sundialhv.pov sundial1.png sundial2.png
	povray -H600 -W800 -D0 +A0.1 sundialhv.pov
sundial1.png: 
	lynx -source 'http://www.astro.ru.nl/~wilberth/cgi-bin/sundial.pl?date=2005-12-21&longlat=5:51%2B51:51&filetype=png&zone=1&height=15' > sundial1.png
sundial2.png: 
	lynx -source 'http://www.astro.ru.nl/~wilberth/cgi-bin/sundial.pl?date=2005-12-21&longlat=5:51%2B51:51&filetype=png&zone=1&height=50&type=vertical' > sundial2.png
sundial3.png: 
	lynx -source 'http://www.astro.ru.nl/~wilberth/cgi-bin/sundial.pl?date=2005-12-21&longlat=5:51%2B51:51&filetype=png&height=50&type=cylindrical' > tt.png
	convert 2.88876521%x0 tt.png sundial3.png
	#convert 50*(2*pi*HEIGHT/297-1)%x0 tt.png sundial3.png
sundial_large.ogv: anim/sundial105.png
	oggSlideshow -o sundial_large.ogv -d 800000 -tp  -s 800x600 -l 0.125 anim/sundial???.png
sundial.ogv: anim/sundial105.png
	oggSlideshow -o sundial.ogv -d 400000 -tp  -s 400x300 -l 0.125 anim/sundial???.png
clean:
	rm -f sundial1.png sundial2.png
