🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #1846

Re: chaos game: Sierpinski Surprise

#1846
From: Paul Gilmartin
Date: Fri, 21 Aug 1992 05:20
22 lines
1132 bytes
In article <1992Aug20.124923.18308@ramsey.cs.laurentian.ca>
barry@ramsey.cs.laurentian.ca (Barry G. Adams) writes:
 
>Here is an interesting postscript program which generates the
>Sierpinski gasket using the chaos game.
 
[lotsa code deleted]
 
When I try this on the IBM VM PostScript interpreter, I get:
 
    %%[ Error: limitcheck; OffendingCommand: stroke ]%%
 
So I looked at how Don Lancaster drew a dot once, and changed:
 
>/plotpixel { moveto 0.2 0 rlineto stroke} def
 
To:
 
 /plotpixel { moveto closepath     stroke} def
 
And the problem vanished!  But I have no idea why.
It's Fairly Mysterious.  :-)
Technical Details
Message-ID: <168491484C.GILMART@LSTC2VM.stortek.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!asuvax!ncar!csn!stortek!LSTC2VM.stortek.com!GILMART
References: <1992Aug20.124923.18308@ramsey.cs.laurentian.ca>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!asuvax!ncar!csn!stortek!LSTC2VM.stortek.com!GILMART
From: GILMART@LSTC2VM.stortek.com (Paul Gilmartin)
Subject: Re: chaos game: Sierpinski Surprise
Message-ID: <168491484C.GILMART@LSTC2VM.stortek.com>
Sender: usenet@stortek.com
Nntp-Posting-Host: lstc2vm.stortek.com
Organization: StorageTek SW Engineering
References:  <1992Aug20.124923.18308@ramsey.cs.laurentian.ca>
Date: Fri, 21 Aug 1992 05:20:27 GMT
Lines: 22