Boids implementation with Akka.
Inspired by niilohlin's work
- Boids as akka actors.
- Each boid can have its own behavior.
- Dimension neutral (current demo is 2D with Swing front end).
- Right click to add/drag 'enemies' in the world.
- Double right click to remove them.
- Mouse pointer is also an 'enemy'.
- Resizing the frame resizes the world.
- Double left click to catch a boid and name it! Prepend the name with an HTML color code (for instance #FF8800) to color your boid.
- CTRL + N: restart the sim.
- CTRL + S: save the sim.
- CTRL + L: load a sim.
sbt run
Check function preStart in UI2D.scala to see how to add custom boids in the simulation.