develooper Front page | | Postings from August 2002

Re: Son of (-ugene's Cantor

Thread Previous | Thread Next
August 17, 2002 09:32
Re: Son of (-ugene's Cantor
Message ID:
En op 17 augustus 2002 sprak Keith Calvert Ivey:
> There was a Sierpinski triangle golf thread on FWP in Feb 2001. 
> Ton got it down to 59, but I don't think he was really trying:
> And Ilmari Karonen posted a Sierpinski triangle program on FWP 
> in Jun 2000:

Thanks a lot Keith! By combining ideas from both solutions
and the Perl Monks node too, I have come up with this:

";print,s,(?<=\\)..,$&^v15.'|',eg,s,$,/\\,while+s+^ ++

I have forgotten how to do Ton's prefix minus 1 trick,
which might be useful here.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About