Do you know where your variables are? | |
PerlMonks |
Re: Re: Re: Fractal Curves: Short & Fast Codes?by Willard B. Trophy (Hermit) |
on Jun 17, 2003 at 18:57 UTC ( [id://266594]=note: print w/replies, xml ) | Need Help?? |
It's definitely a fractal curve. It's just so long since I did fractal things, I don't remember what people were calling these them.
String rewriting is all in The Science of Fractal Images, ed Peitgen & Saupe (Springer-Verlag, 1991, ISBN: 0387966080). Of course, they were using an awkward Pascal-like pseudocode language with no regular expressions ... Here's at least part of the famous snowflake. I think I changed three lines:
Now what would be really cool would be a Perl routine that would parse ASCII-art axioms and production rules, and generate the fractal. My free time is not that copious. --
In Section
Seekers of Perl Wisdom
|
|