I've been hammering away at a Common Lisp library for SVG. Last week I decided to take a break from studying the arcana of clipping windows and alpha masks to see if I could translate some of the gallery examples from NodeBox into SVG nicely. My library isn't ready for Graphic Cellular Domestication — that'll take Javascript — but some of the random walk ones turned out ok:
I quite like my modification of the tendrils algorithm, if I do say so myself:
Of course, SVG isn't recognized as an uploadable image format many places, so the pictures are PNG.
16 May 2008
Subscribe to:
Post Comments (Atom)
5 comments:
Those would make pretty nice desktop wallpapers.
Impressive : nice work.
Sorry, I forgot my question :
Will you provide any code ? I'm beginning Lisp, and I was waiting for something concrete; a graphical language seems a good starting point.
Kib, the code is all in the file testing.lisp in the project:
http://cl-svg.googlecode.com/
http://code.google.com/p/cl-svg/source/browse/trunk/testing.lisp
See the functions "root" and "make-tendril".
Thanks, I had to take a look at it.
See you.
Post a Comment