PROCESS DOCUMENTATION
REPRODUCTION ver. 1.0 is an algorithm written in Processing that reproduces child objects based on the traits of the parent objects.
- Two parent objects are generated. One parent is a circle, the other is a square. The color, radius and “voice” (oscillator frequency) are randomly generated by the computer.
- Every 100 ms, a child is produced by averaging the parents data and adding/subtracting a randomized mutation factor.
- The childs’ “sex” (whether it is a circle or square) is determined randomly.
- The new child replaces the old parent of the same sex.
- The child, now parent, reproduces a new child with its “mother”/”father” (parent of the opposite sex).
- The process repeats 50 times, and then a new parent pair is introduced.