From: LuisGLopez on
Frank... wow! That code is certainly much more general! I love the pdf
result!!!!

From: Frank Buss on
>> http://groups.google.de/group/comp.lang.lisp/browse_thread/thread/05631fa93379bca8/248b67466ca2aa7d

LuisGLopez wrote:

> Frank... wow! That code is certainly much more general! I love the pdf
> result!!!!

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?

--
Frank Bu?, fb(a)frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de
From: Marc Battyani on

"Frank Buss" <fb(a)frank-buss.de> 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


From: Frank Buss on
Marc Battyani wrote:

> 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-systems.lisp

thanks, now I don't have a chance to get a reputation for being a good Lisp
programmer any more :-)

--
Frank Bu?, fb(a)frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de
From: Marc Battyani on

"Frank Buss" <fb(a)frank-buss.de> wrote:
> Marc Battyani wrote:
>
> > 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
>
> thanks, now I don't have a chance to get a reputation for being a good
Lisp
> programmer any more :-)

Improvements welcome...
I'm sure you didn't know what to do this rainy (assuming you are in Germany)
week-end ;-)

BTW if anybody have some cool cl-pdf examples, I would be happy to add them
in the examples directory.

Marc


First  |  Prev  | 
Pages: 1 2 3
Prev: How to xor?
Next: Continuation paper