Home » Uncategorized

Genetic Algorithms Part 2.

7 June 2005 No Comment

genetic artWork continues on my exploration of Genetic Art and Genetic Algorithms. Essentially, I’ve created a random image generator which uses mostly mathematical functions to determine the color of a given pixel. The application uses a Postfix representation of a mathematical formula so the Infix expression “Sin(x)” becomes “x sin”. This makes it real easy to evaluate the expression using only a simple stack data structure.

The other benefit of the postfix is that I don’t need a tree structure or to walk such a structure to evaluate the expression.

Lastly, I’ve moved away from the black and white only images and have begun using a function per color channel thus am evaluating each pixel for Red, Green and Blue independantly. Below are just some of the Images the application generates along with their RGB mathematical functions. Click “read more” for the full gallery of images…

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.