%% 
%%  PSTricks -- Grafik f\"ur \protect \TeX  \ und \protect \LaTeX  , 4. Auflage (1. Auflage 2004)
%% 
%%  Example 12-2-2 on page 131.
%% 
%%  Copyright (C) 2006 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 

\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{129.7051pt}
\setlength\parindent{0pt}
\StartShownPreambleCommands
\usepackage{pstricks}
\SpecialCoor
\StopShownPreambleCommands
\begin{document}
\begin{pspicture}[showgrid=true](3,3)
  \psset{dotscale=1.25}
  \multips(0,0){80}{%
     \psdot(! rand 301 mod 100 div
       rand 301 mod 100 div rand 101
       mod 100 div 1 1 sethsbcolor)}
\end{pspicture}
\end{document}
