Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Ilya Zakharevich Newsgroups: comp.lang.postscript Subject: Re: Sierpinski Date: Sun, 25 Dec 2011 22:49:54 +0000 (UTC) Organization: U.C. Berkeley Math. Department. Lines: 23 Message-ID: References: <111db8ba-d74d-4641-9be8-b8396eb7b74a@f11g2000yql.googlegroups.com> <4794ae67-2feb-4de1-8326-877301c0adc5@o9g2000yqa.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 25 Dec 2011 22:49:54 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="EKxe1u6MqDDGLNz4aDdAzA"; logging-data="14634"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+58NBqUfkX90+EopwmFlPh" User-Agent: slrn/0.9.8.1pl1 (Linux) Cancel-Lock: sha1:N9qn6rHHmmoWyZ6DchLfStzNpu8= Xref: x330-a1.tempe.blueboxinc.net comp.lang.postscript:524 On 2011-12-25, luser- -droog wrote: > On Dec 24, 7:33 pm, Ilya Zakharevich wrote: >> Just a hint: I do my Sierpinski in 0.5 setgray.  Then the stipple >> pattern of a Laser printer makes the impression of "infinite depth". >> Here is the source of one of the problems for the baby math circle: To be fair, the real Sierpinski contains exactly 0 grams of ink. So a fair representation would use 1 setgray ;-). I must say that the results with positive amount of ink look much better. ;-) ;-) ;-) > I'm uncontrollably forced to wonder whether countexecstack > would be at all useful here (since its only apparent use is in > the error-handler). You'd still have to do comparisons, but > you might be able to factor out the increment (and less on the > stack. Honestly, I do not get heads or tails of what you want to say here. I see that neither my code nor your uses `countexecstack', and can't see how it would help (at least in my code - the recursion is very shallow there). Yours, Ilya