found this on the internet ;-)
Peter Henderson wrote an article about a method to describe pictures with functional programs. I've implemented it in Lisp. An updated version of the article uses curves and different shapes and has some references to other applications for this method, like "An Algebra of Music".
http://www.frank-buss.de/lisp/functional.html
Very beautiful!
Fanda
Port to newLISP can be found here:
http://www.volny.cz/fsodomka/newlisp/
files:
http://www.volny.cz/fsodomka/newlisp/lsp/fg.lsp
http://www.volny.cz/fsodomka/newlisp/lsp/fg-pics.lsp
sample picture:
http://www.volny.cz/fsodomka/newlisp/img/fish.gif
Fanda
PS: You will also need postscript.lsp from:
http://newlisp.org/index.cgi?Postscript
To easier create grid pictures, use fg-draw-grid.lsp.
http://www.volny.cz/fsodomka/newlisp/lsp/fg-draw-grid.lsp
Fanda
PS: If you make some nice pictures, don't be afraid to share them ;-)
Aaaa you make me currious ;-)
I need to install TK on this OS/2 machine to see that... Ill give it a try... ;-)