Function Graphs and Other Applications for PostScript by Gernot Hoffmann.
From the introduction:
This documents shows some examples for drawing smooth curves by PostScript.
The main purpose is the creation of mathematical function graphs for placing in PageMaker.
The CIE Chromaticity Diagram is an advanced example for accurate 2D-graphics, based on mathematical data.
New developments show that accurate 3D graphics are possible, though with many restrictions.
The programming techniques differ considerably from the typical PostScript style.
PostScript uses the stack extensively. Optimized programs are hardly readable.
I don’t think you will find this to be useful but in a burst of nostalgia I had to post it.
I remember hand coding PostScript for output to an Apple IIe printer. It is an experience that will make you appreciate more recent software. 😉
I first saw this in a tweet by onepaperperday.