Example of genetic algorithm in Processing