%% $Id: pst-hyperboloid-doc-exa1.tex 1273 2026-06-02 10:47:27Z herbert $

\begin{externalDocument}[
  compiler=lualatex, runs=1, crop,
  %xindex, xindexOptions={-l DE --config AU},
  %mpwidth=0.6\linewidth, 
  usefancyvrb=false,
  docType=latex,
]{voss}
\DocumentMetadata{}
\documentclass{article}
\pagestyle{empty}
\usepackage{libertinus}
%StartVisiblePreamble
\usepackage[dvipsnames,svgnames]{pstricks}
\usepackage{pst-hyperboloid}
%StopVisiblePreamble
\begin{document}
\begin{pspicture}(-8,-7.2)(6,6)
\psset{viewpoint=25 25 30 rtp2xyz, lightsrc=viewpoint, Decran=25}
\gridIIID[Zmin=-4,Zmax=4,showAxes=false](-4,4)(-4,4)
\psHyperboloid[
  hollow,linewidth=0.25\pslinewidth,grid,
  % inouthue=1 0 0.5 1,
  fcol= 0 2 5760{
     /Rang exch def
     Rang (Black) Rang 1 add (White)
  } for,
  ngrid=36 20]
\psLineIIID(4,-4,4)(4,4,4)(-4,4,4)
\psLineIIID(4,4,-4)(4,4,4)
\end{pspicture}
\end{document}
\end{externalDocument}
