Some of the discussion on this thread has been about drawing
programs.
For raw PostScript, I recommend the book, ``Mathematical Illustrations'':
https://www.math.utah.edu/pub/tex/bib/master.html#Casselman:2005:MIM
Few people, however, are willing to write in a reverse Polish notation
language, like BibTeX style files, Forth, Postscript, and (text-form
of) PDF.
For drawings with connected labeled boxes, ellipses, circles,
diamonds, ... etc, consider Brian Kernighan's original pic
https://www.math.utah.edu/pub/tex/bib/unix.html#Kernighan:1981:PCG
or its GNU successor, gpic. The latter is in all major Unix-family
distributions, and can easily be built from source code when it is
not; it is embedded in the groff package:
ftp://ftp.gnu.org/gnu/groff/
For more complicated drawings, Asymptote produces impressive 2D and 3D
drawings:
https://asymptote.sourceforge.io/gallery/
In the TeX typesetting community, TikZ has a supportive community:
https://tikz.net/
Asymptote is packaged separately in many O/S distributions, and is
also part of the annual TeX Live releases:
https://tug.org/texlive/
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah -
- Department of Mathematics, 110 LCB Internet e-mail: beebe@??? -
- 155 S 1400 E RM 233 beebe@??? beebe@??? -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------