About random art
The pictures in the gallery are made by a computer program. The program accepts the name of a picture and uses it as a seed from which a picture is generated randomly. The same name always yields the same picture.
You can make your own picture, too.
The author of the random art program is Andrej Bauer.
How it works
The picture name is the seed for a pseudo-random number generator that is used to construct a mathematical formula. The formula determines the color of each pixel in the picture. The same name always determines the same sequence of random choices, and consequently the same formula and the same picture.
A typical formula describing a picture looks like this:
It is a list of operators, which refer to other operators in the list. They comprise an acyclic directed graph. It is usually quite impossible to predict the appearance of a picture just by looking at the formula.
It may happen that two different names determine the same picture, although this is rather unlikely due to the large number of all possible pictures. It is hard to determine their precise number, but we may safely claim that there are more random pictures than there are atoms in the known universe.
The name of a picture normally consists of two words. The first word determines the colors and the layout of focal points, while the second word determines the selection and arrangement of graphical elements. Therefore, if we change the first word and keep the second, the colors and the layout change while the style remains the same:
Red Demo |
Green Demo |
Blue Demo |
In contrast, if we keep the first word and change the second one, we obtain different pictures whith few similarities:
Demo Red |
Demo Green |
Demo Blue |
The program is implemented in ocaml. The online version was compiled from ocaml to javascript with ocamljs. The program is not open source but you may download the publicly available Python implementation if you would like to experiment with computer art.
For further information and discussion about random art visit random art at the Mathematics and Computation blog or join the Facbook Random Art group.