Processing boids

Experiments in procedural animation, based on behavioral animation system from Craig Reynolds1) implemented in Processing and extended to various other areas such as evolution.

Boids rules :

  1. Cohesion. Try to approach other boids.
  2. Separation. Try to keep a minimum distance with things.
  3. Imitation. Try to move in the same way than other boids.

Additionnal rules :

  • Stay in square, by sides avoidance or closed space.
  • Limit speed, except in case of imminent danger. (See below)
  • Escape to mouse. Boids try to avoid the mouse.

This work was studied by Agnes Skattman Udd in her Bachelor's Thesis in Computer Science at the School of Computer Science and Engineering of Stockolm 2).

boids6_logo.jpg

Work in progress
web applet boids6_applet.zip
windows application boids6_windows.zip
linux application boids6_linux.zip


Evolution system based on genome reproduction and mutations in a complex environnment, physic systems and integrated interface.

logo.jpg

On openProcessing.org
web applet boids4_applet.zip
windows application boids4_windows.zip
linux application boids4_linux.zip


controlP5 interface, object-oriented and commented.

Additionnal rules :

  • Avoid obstacles.
    • Avoid it before the bang. (small but widespread repulsion)
    • Too late. (big repulsion on contact)
  • Eat.
    • Green is good. (medium attraction).
    • Do not put your hands in the soup. (big repulsion at contact)
web applet boids1_applet.zip
windows application boids1_windows.zip
linux application boids1_linux.zip

Basic use of boid's procedures.