Skip to content
Kai edited this page Apr 3, 2018 · 18 revisions

Genetic Algorithms!

The assignment is to put your own creative "spin" on one of the examples (or create your own new example). Here are some suggestions but by no means do you need to stick to them.

  • Using the Shakespeare monkey example, try evolving a sequence of something other than characters -- geometry, musical notes, pixels, etc.
  • Visualize the path of the smart rockets in a different way. What sorts of abstract or artistic images can emerge by layering many generations of evolution?
  • Using the "evolving faces" example, create your own "interactive selection" project. In addition to visual design, consider evolving sound — for example, a short sequence of tones. Can you devise a strategy, such as a networked web application or physical sensor system, to acquire ratings from multiple users over time?
  • Create an interface for any of the examples that allows you to pause/restart the simulation, adjust parameters on the fly, and more.
  • In Jer Thorp’s original Smart Rockets each rocket only gets five thrusters (of any direction and strength) that follow a firing sequence (of arbitrary length). Jer’s simulation also gives the rockets a finite amount of fuel. Can you add these elements to the simulation?

As an alternative you are also welcome to complete an assignment related to the QuadTree example:

Directions

  • Document your work on the web and link to it below.
  • Add any questions below:

Questions

  • Seems like the P5 random([]) function doesn't really work. To select parents from the matingPool, I still have to pick a random index number from the matingPool and then make it a parent - Effy

Post your work

Clone this wiki locally