It too contains several import improvements over Level 2 such as Smooth Shading.
It is dynamically-typed, dynamically-scoped, and stack-based which leads to a mostly Reverse Polish syntax. Its main real-world application historically is as a page description language, or in its single-page EPS form a vector-graphics image-description language. Many of the ideas which blossomed in PostScript had been cultivated in projects for Xerox and Evans & Sutherland. PostScript is a Turing-complete general programming language, designed and developed by Adobe Systems. And the amount of work involved in producing more complicated figures will usually be neither more nor less than what is necessary. The apparent complexity involved in producing simple figures by programming in PostScript, as I hope this book will demonstrate, is largely an illusion. There is practically no limit to the quality of the output of a PostScript program, and as one acquires experience the difficulties of using the language decrease rapidly. The truth is that the trade-off is unnecessary - once one has made a small initial investment of effort, by far the best thing to do in most situations is to write a program in the graphics programming language PostScript. Which to choose apparently involves a trade-off between simplicity and quality, in which most go for what they perceive to be simplicity. Affine transformations and non-linear transformations of the path. The Hodgman-Sutherland polygon clippingĪlgorithm.
#Psn stuff tutorial how to
Green Book, how to use postscript effectively: Read the documentation in this order to easily learn postscript:īlue Book, first half, the original official tutorial: Procedures can take procedures as data and yield procedures as results, lending itself to techniques from concatenative-programming as well.
#Psn stuff tutorial code
Like LISP, PostScript is homoiconic and code and data share the same representation. PostScript is used as an output format by many programs since it is designed to be easily machine-generated.
#Psn stuff tutorial pdf
PostScript employs the same "Adobe Image Model" as the PDF file format. PostScript is a reverse-polish stack-based, dynamically-typed, dynamic-namespacing, scripting language with built-in primitives for generating rendered images from vector descriptions.