knowledge-database (beta)

Current group: comp.lang.lisp

Functional Geometry for fishes

Functional Geometry for fishes  
Frank Buss
 Re: Functional Geometry for fishes  
Trent Buck
 Re: Functional Geometry for fishes  
Frank Buss
 Re: Functional Geometry for fishes  
Rainer Joswig
 Re: Functional Geometry for fishes  
Emre Sevinc
 Re: Functional Geometry for fishes  
Marc Battyani
 Re: Functional Geometry for fishes  
Rainer Joswig
 Re: Functional Geometry for fishes  
Marc Battyani
From:Frank Buss
Subject:Functional Geometry for fishes
Date:Sun, 23 Jan 2005 18:17:44 +0000 (UTC)
I never really understood how to use higher order functions as combinators,
until I read the article from Peter Henderson about Functional Geometry.
Now it is easy for me to use it in Lisp:

http://www.frank-buss.de/lisp/functional.html
http://www.frank-buss.de/lisp/fishes.pdf

--
Frank Buß, fb@frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de
From:Trent Buck
Subject:Re: Functional Geometry for fishes
Date:Mon, 24 Jan 2005 03:14:22 GMT
Up spake Emre Sevinc:
> For people who want to see Henderson's ideas in action
> this video set is a good choice.

http://swiss.csail.mit.edu/classes/6.001/abelson-sussman-lectures/Lecture-3a.avi

....about halfway through that video.

--
-trent
I'm not sure if this is a good or a bad thing. Probably a bad thing;
most things are bad things. -- Nile Evil Bastard
From:Frank Buss
Subject:Re: Functional Geometry for fishes
Date:Mon, 24 Jan 2005 04:28:53 +0000 (UTC)
Trent Buck wrote:

> Up spake Emre Sevinc:
>> For people who want to see Henderson's ideas in action
>> this video set is a good choice.
>
> http://swiss.csail.mit.edu/classes/6.001/abelson-sussman-lectures/Lectu
> re-3a.avi
>
> ...about halfway through that video.

Interesting lecture. The base concept is slightly different: My
"picture" returns a list of lines when called, while his picture draws
itself when called, but the rest is the same. But I don't like the Scheme
notation, because for me it is more clear to see a "funcall" when a
function is being called.

Another good part: at the end of the lecture he compares the top-down
methodology with the "levels of languages" methodology and explains why
it is more robust to use embedded languages in Lisp.

Regarding the picture: Would be nice to enhance the program to produce a
more exact reproduction of the original picture, filled with color, with
curved lines and recursive to level n (see "Square Limit"):

http://www.dartmouth.edu/~matc/math5.pattern/lesson7math.html

--
Frank Buß, fb@frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de
From:Rainer Joswig
Subject:Re: Functional Geometry for fishes
Date:Sun, 23 Jan 2005 20:18:14 +0100
In article ,
Frank Buss wrote:

> I never really understood how to use higher order functions as combinators,
> until I read the article from Peter Henderson about Functional Geometry.
> Now it is easy for me to use it in Lisp:
>
> http://www.frank-buss.de/lisp/functional.html
> http://www.frank-buss.de/lisp/fishes.pdf

Nice.

See also AIM-986.pdf or the corresponding article of Byte 1988, February.

ftp://publications.ai.mit.edu/ai-publications/pdf/AIM-986.pdf

and

Hal Abelson and Gerald Jay Sussman. "Lisp: A Language for Stratified Design". BYTE. February 1988.
From:Emre Sevinc
Subject:Re: Functional Geometry for fishes
Date:Sun, 23 Jan 2005 22:34:45 +0200
Frank Buss writes:

> I never really understood how to use higher order functions as combinators,
> until I read the article from Peter Henderson about Functional Geometry.
> Now it is easy for me to use it in Lisp:
>
> http://www.frank-buss.de/lisp/functional.html
> http://www.frank-buss.de/lisp/fishes.pdf
>

As Rainer Joswig pointed out, Scheme designers were interested
with Henderson's examples, too.

For people who want to see Henderson's ideas in action
this video set is a good choice. I guess it is the 4th or 5th
..avi file that includes a lecture about how to produce
Escher style pictures using a functional programming
language and Henderson's ideas:

http://swiss.csail.mit.edu/classes/6.001/abelson-sussman-lectures/

Now that we have Common Lisp version which produces
Postscript output, we're one step closer to total world
domination! ;-)




--
Emre Sevinc

eMBA Software Developer Actively engaged in:
http:www.bilgi.edu.tr http://ileriseviye.org
http://www.bilgi.edu.tr http://fazlamesai.net
Cognitive Science Student http://cazci.com
http://www.cogsci.boun.edu.tr
From:Marc Battyani
Subject:Re: Functional Geometry for fishes
Date:Sun, 23 Jan 2005 22:11:11 +0100

"Emre Sevinc" wrote

> For people who want to see Henderson's ideas in action
> this video set is a good choice. I guess it is the 4th or 5th
> .avi file that includes a lecture about how to produce
> Escher style pictures using a functional programming
> language and Henderson's ideas:
>
> http://swiss.csail.mit.edu/classes/6.001/abelson-sussman-lectures/
>
> Now that we have Common Lisp version which produces
> Postscript output, we're one step closer to total world
> domination! ;-)

Postscript is deprecated. Today, world domination requires that you produce
PDF output with cl-pdf ;-)

Marc
From:Rainer Joswig
Subject:Re: Functional Geometry for fishes
Date:Sun, 23 Jan 2005 22:33:39 +0100
In article ,
"Marc Battyani" wrote:

> "Emre Sevinc" wrote
>
> > For people who want to see Henderson's ideas in action
> > this video set is a good choice. I guess it is the 4th or 5th
> > .avi file that includes a lecture about how to produce
> > Escher style pictures using a functional programming
> > language and Henderson's ideas:
> >
> > http://swiss.csail.mit.edu/classes/6.001/abelson-sussman-lectures/
> >
> > Now that we have Common Lisp version which produces
> > Postscript output, we're one step closer to total world
> > domination! ;-)
>
> Postscript is deprecated. Today, world domination requires that you produce
> PDF output with cl-pdf ;-)
>
> Marc

Actually if you use CLIM, you can directly generate
Postscript from its graphics routines.

See:

http://www.lispworks.com/documentation/lw44/CLIM/html/climguide-341.htm#pgfId-44383

What would be neat is to generate PDF like that (perhaps with cl-pdf)
from McCLIM (http://common-lisp.net/project/mcclim/).
From:Marc Battyani
Subject:Re: Functional Geometry for fishes
Date:Sun, 23 Jan 2005 22:54:36 +0100

"Rainer Joswig" wrote
> "Marc Battyani" wrote:

> > Postscript is deprecated. Today, world domination requires that you
produce
> > PDF output with cl-pdf ;-)
>
> Actually if you use CLIM, you can directly generate
> Postscript from its graphics routines.
>
> See:
>
>
http://www.lispworks.com/documentation/lw44/CLIM/html/climguide-341.htm#pgfI
d-44383
>
> What would be neat is to generate PDF like that (perhaps with cl-pdf)
> from McCLIM (http://common-lisp.net/project/mcclim/).

Well it should be easy, Postscript and PDF share the same graphic model.

Marc
   

Copyright © 2006 knowledge-database   -   All rights reserved