# Texture Generator

**URL:** <https://forum.kirupa.com/t/texture-generator/282762>\
**Category:** open source\
**Created:** [February 26, 2009, 5:01am UTC](https://forum.kirupa.com/t/texture-generator/282762 "2009-02-26T05:01:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chimay](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@Chimay](https://forum.kirupa.com/u/Chimay)\
**Post date:** [February 26, 2009, 5:01am UTC](https://forum.kirupa.com/t/texture-generator/282762/1 "2009-02-26T05:01:01Z")

</div>

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…
