Hacker News new | ask | show | jobs
by WillAdams 815 days ago
For folks who want to learn more, the "Green Book" _PostScript Language Program Design_ is a classic:

https://www.goodreads.com/book/show/3883749-postscript-langu...

and _Thinking in PostScript_ was made available from the author's site and is widely available as a PDF:

https://w3-o.cs.hm.edu/users/ruckert/public_html/compiler/Th...

For a more typical usage see:

https://personal.math.ubc.ca/~cass/graphics/manual/

(I used to do PostScript programming on my NeXT Cube for custom fills and strokes in Altsys Virtuoso)

2 comments

Even the official reference book ("red book" or PLRM, https://www.adobe.com/jp/print/postscript/pdfs/PLRM.pdf) is readable and very well done.
Oh, NeXT Cube and custom fills? That's pretty hardcore. Did you find programming in PostScript more intuitive compared to other languages, especially for graphical stuff?
The Cube was a gift, and the PS work didn't go that far.

I found PS pretty inscrutable, esp. the function-filled variant used in Virtuoso, but did manage to get dimension lines coded up (which promptly ran into precision problems which I eventually gave up on).

OpenSCAD is a lot more approachable, and METAPOST was easy to pick up and make use of:

http://ftp.tug.org/TUGboat/tb40-2/tb125adams-3d.pdf

Still working through this at:

https://willadams.gitbook.io/design-into-3d/3d-project

and mostly using visual tools (which arguably is limiting me) https://www.blockscad3d.com/editor/ and https://github.com/derkork/openscad-graph-editor and of course, had to throw: http://pythonscad.org/ into the mix. Still a bit miffed that Nodebox and Processing or maker.js weren't a good fit.