Elena Deng-Looking Outwards 06

Andrej Bauer’s Random Art

This week I decided to take a look at Andrej Bauer’s random art. Within the image, the mathematical formula determines the color of each pixel in the image. Within the code, there is a list of operators referring to the other operators in the list. The idea of the image is to generate expression trees to describe an image. For each point of the image (x,y) we will evaluate the expression and get a color. The colors are determined by (r, g, b) which are numbers between -1 and 1. The image displayed is a large number of rectangles (pixels) on the canvas. The program uses a RGB color model. The model uses Python and it can be changed by introducing new operators.

Leave a Reply