THE CHROMOSOMES

The central data structure of this program is the chromosome. It is used as a container of the genetic data of the object to be created. This genetic data are the values used in the algorithms that generate an object. In each chromosome different genes are defined, for different parameters of the object:

- The visual appearance. There are three RGB colour components, a component for specular colour and one transparency value. These values are used with the geometry.

- The geometry used in the object.

- The structure that builds the object. The structures are algorithms that use the selected geometr.

- A set of control values, used in the structure functions, that introduce changes to the algorithm, leading to different results.

In the genetic lab program I've created an initial chromosome pool. It consists of a series of functions with the genetic data of objects. The main concern was variety, covering all algorithms and possible values for the parameters.

The several "pure" objects, resulting from the combination of twice the same chromosome from the genetic pool:

 

       
 
       
 
       
( These have a different scale factor to test their role as "connectors" )

 

The whole scope of possible values and available options is evenly represented in the chromosomes of the pool rather than setting more weight in some options, pointing towards the predominance of those characteristics. This way I look for surprising and even extreme results, depending solely on the outcome of the crossover operation that will mix the chromosome data.

 

<<
top
>>