A flocking simulation (with asteroids!), created using Processing
You are the small, white rectangle, navigating asteroids and swarms of red rectangles.
UP, DOWN, LEFT, RIGHT => Control movement of your rectangle.
W, A, S, D => Fire bullets in UP, LEFT, DOWN, RIGHT directions, respectively
SPACEBAR => Shockwave (only affects red rectangles)
Q => Add asteroid in random location
E => Add red rectangle in random location
The application.* folders contain scripts that can run the program on a PC without having the Processing application installed.