Re: Koch figures




"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


.



Relevant Pages

  • Anyone here use charting in cl-pdf?
    ... The cl-pdf is pretty low traffic, so I thought I'd ask here. ... some suggestions for modifying some charting code. ... Prev by Date: ...
    (comp.lang.lisp)
  • Re: Koch figures
    ... Marc Battyani wrote: ... > I don't have the time for this but I just converted it to use cl-pdf instead ... Frank Buß, fb@xxxxxxxxxxxxx ... Prev by Date: ...
    (comp.lang.lisp)
  • Re: Koch figures
    ... > Marc Battyani wrote: ... BTW if anybody have some cool cl-pdf examples, I would be happy to add them ... Prev by Date: ...
    (comp.lang.lisp)