Anonymous user
Draw a sphere: Difference between revisions
→{{header|TeX}}: Solution given was written in Leslie B. Lamport's techne, not plain techne, and badly spaced.
m (→{{header|Phix}}: IupCloseOnEscape no longer needed) |
(→{{header|TeX}}: Solution given was written in Leslie B. Lamport's techne, not plain techne, and badly spaced.) |
||
Line 5,057:
[[image:Tcl-spheroid.gif]]
=={{header|
{{libheader|PGF}}
The PGF <code>shadings</code> library includes a "ball" for a 3-D style highlight.
<lang TeX>\documentclass{article}
Line 5,067:
\begin{document}
\begin{tikzpicture}
\shade[ball color=black] (0,0) circle (4);
\end{tikzpicture}
\end{document}</lang>
|