Logan Capaldo <logancapaldo / gmail.com> writes: > On Mar 6, 2006, at 10:49 AM, Christian Neukirchen wrote: > >> "Matthew Moss" <matthew.moss.coder / gmail.com> writes: >> >>> On 3/6/06, Christian Neukirchen <chneukirchen / gmail.com> wrote: >>>> "Matthew Moss" <matthew.moss.coder / gmail.com> writes: >>>> >>>>> Here is my solution... Uses a cheap trick (a la method_missing) to >>>>> allow inline Postscript as method calls (so not as postfix). The >>>>> output is dumped to standard output to be redirected to a .ps file, >>>>> which can be easily viewed on Mac OS X (and almost as easily on >>>>> other >>>>> platforms using ghostscript). >>>> >>>> Okay, I could not resist "doing it right". ;-) >>> >>> I hang my head in shame. >> >> The one who reads that code a bit closer probably will grin deeply... >> >> -- >> Christian Neukirchen <chneukirchen / gmail.com> http:// >> chneukirchen.org >> > > > Me guesses you refer to this: > /phi 5 sqrt 1 sub 2 div def Bingo! Mine is drawn outside-in. ;-) [That said, I was amazed how much Postscript I still knew, I didn't touch it for quite some time.] > Cheater! ;) -- Christian Neukirchen <chneukirchen / gmail.com> http://chneukirchen.org