
\documentclass[a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage{pstricks-add,pst-map3d}
\usepackage[charter]{mathdesign}
\renewcommand{\ttdefault}{lmtt}
\renewcommand{\sfdefault}{phv}
\makeatletter
\newdimen\pssizeStar
\def\psset@sizeStar#1{\pssetlength\pssizeStar{#1}}
\psset@sizeStar{1.5pt}
\def\psRandomStar{\pst@object{psRandomStar}}\def\psRandomStar@i{\@ifnextchar({\psRandomStar@ii}{\psRandomStar@iii(0,0)(1,1)}}
\def\psRandomStar@ii(#1){\@ifnextchar({\psRandomStar@iii(#1)}{\psRandomStar@iii(0,0)(#1)}}
\def\psRandomStar@iii(#1)(#2)#3{ \def\pst@tempA{#3} \ifx\pst@tempA\pst@empty\psclip{\psframe(#2)}\else\psclip{#3}\fi
\pst@getcoor{#1}\pst@tempA
\pst@getcoor{#2}\pst@tempB
\begin@SpecialObj
\addto@pscode{
\pst@tempA\space /yMin exch def
/xMin exch def
\pst@tempB\space /yMax exch def
/xMax exch def
/dy yMax yMin sub def
/dx xMax xMin sub def
rrand srand /getRandReal { rand 2147483647 div } def
\psk@randomPoints {
/DS \pst@number\pssizeStar\space getRandReal mul def
\@nameuse{psds@\psk@dotstyle}
\ifPst@color getRandReal 1 1 sethsbcolor \fi
getRandReal dx mul xMin add
getRandReal dy mul yMin add
Dot
\ifx\psk@fillstyle\psfs@solid fill \fi stroke
} repeat
} \end@SpecialObj
\endpsclip
\ignorespaces
}
\makeatother
\pagestyle{empty}
\begin{document}
\psset{path=../../data}
\definecolor{BlueDark}{cmyk}{1,1,0,0.5}
\newpsstyle{Globe}{circles=true,gridmap=true,daynight=false}
\newpsstyle{night}{fillstyle=solid,fillcolor=BlueDark,linecolor=BlueDark,opacity=0.8}
\psset{Radius=5,Decran=100,Dobs=100,unit=0.5}
\multido{\i=0+2,\ih=1+2}{12}{\begin{pspicture}(-7,-7)(7,7)
\psframe*[linecolor=BlueDark](-7,-7)(7,7)\psRandomStar[linecolor=yellow!50,randomPoints=100](-7,-7)(7,7){\psframe(-7,-7)(7,7)}
\psGlobeTellure[hour=\i,Day=22,Month=06,Year=2008](15.28,37.07){Syracuse}
\end{pspicture}
\newpage
\begin{pspicture}(-7,-7)(7,7)
\psframe*[linecolor=BlueDark](-7,-7)(7,7)\psRandomStar[linecolor=yellow!50,randomPoints=100](-7,-7)(7,7){\psframe(-7,-7)(7,7)}
\psGlobeTellure[hour=\ih,Day=22,Month=06,Year=2008](15.28,37.07){Syracuse}
\end{pspicture}
\newpage}
\end{document}

—
Syracuse — Dernière modification : 22 mars 2008 (0.07s - 3776066 - 20 novembre 2008)