Posted on August 11th, 2008 at 12:41 pm by Mutt
My friend Jay Schuster just pointed me to a really fun graphical description language, which can produce beautiful images with remarkably small amounts of code.
I encourage you to check out the galleries at contextfreeart.org and try it yourself if you’re inclined.
To give you a taste of what it’s like, this snippet of code:
startshape SeedOfLife
background { b -1 }rule SeedOfLife {
DotCircle {}
6 * {rotate 60} DotCircle { y 1 }
}rule DotCircle {
180 * {rotate 2} CIRCLE { y 1 s 0.025 hue 120 sat 1 brightness 1}
}
… produces this image: