Re: Koch figures
- From: "Marc Battyani" <Marc.Battyani@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 30 Sep 2005 14:00:01 +0200
"Frank Buss" <fb@xxxxxxxxxxxxx> wrote:
>>>
http://groups.google.de/group/comp.lang.lisp/browse_thread/thread/05631fa933
79bca8/248b67466ca2aa7d
>
> thanks, but after looking again at it, the code is not very good, because
> in the meantime I've learned a bit more CL. For example there is something
> like this in it:
>
> (if (sometest)
> nil
> (someresult))
>
> which should be written (unless (sometest) (someresult)). And (loop for i
> from 0 to (1- x) should be rewritten with "below" etc.
>
> Besides this minor things I'm sure the code structure could be simplified.
> I don't have the time to clean it up, but perhaps someone in this
newsgroup
> wants to do it?
I don't have the time for this but I just converted it to use cl-pdf instead
of Postscript (deprecated ;-) and I added it to the cl-pdf examples
directory
http://www.fractalconcept.com:8000/public/open-source/cl-pdf/examples/l-syst
ems.lisp
The cl-pdf generated examples are here:
http://www.fractalconcept.com/fcweb/download/l-system1.pdf
http://www.fractalconcept.com/fcweb/download/l-system2.pdf
http://www.fractalconcept.com/fcweb/download/l-system3.pdf
Marc
.
- Follow-Ups:
- Re: Koch figures
- From: Frank Buss
- Re: Koch figures
- References:
- Koch figures
- From: LuisGLopez
- Re: Koch figures
- From: LuisGLopez
- Re: Koch figures
- From: Frank Buss
- Koch figures
- Prev by Date: Re: C++ and lisp and Games
- Next by Date: Re: Why Bother Trolling?
- Previous by thread: Re: Koch figures
- Next by thread: Re: Koch figures
- Index(es):
Relevant Pages
|