Chimay
February 26th, 2009, 12:01 AM
A few years ago I wrote a small program that takes a sentence and generates an image from it. A sample sentence might look like this:
1000 red circles, 500 blue lines and 1 large black rectangle.
The program parses this string as a set of commands and draws an image.
Have a look here (http://shapevent.com/projects/command_drawing/)
The original was written in AS2 and it had a bunch of weird/convoluted features. This version is much simpler and written in AS3.
I'll probably add an additional handful of features to it over the next few weeks.
I'll also be posting the source for it on actionsnippet.com (http://actionsnippet.com) in the coming weeks.
Almost forgot that I wrote a small blog post (http://shapevent.com/sketchbook/2009/02/18/command-drawing/) talking about where the idea came from etc...
1000 red circles, 500 blue lines and 1 large black rectangle.
The program parses this string as a set of commands and draws an image.
Have a look here (http://shapevent.com/projects/command_drawing/)
The original was written in AS2 and it had a bunch of weird/convoluted features. This version is much simpler and written in AS3.
I'll probably add an additional handful of features to it over the next few weeks.
I'll also be posting the source for it on actionsnippet.com (http://actionsnippet.com) in the coming weeks.
Almost forgot that I wrote a small blog post (http://shapevent.com/sketchbook/2009/02/18/command-drawing/) talking about where the idea came from etc...