Boids in Uiua using Iris
This is a basic implementation of Craig Reynolds Boids. Parameters of the program, such as the screen size, number of boids, perception radius, and impact of forces can be configured at the top of the file.
I have switched everything over to data defs for the boids. I have implemented firefly behavior of flashing and nudging the timers based on neighbor flashing based on fireflies.
Holding down the left mouse button will cause the boids to chase the mouse position in the non-data defs version.
- Quadtree?
Allow program to be reset via keyboard commandAllow dynamic control of strength of each force- Make the flashing a singular event