Skip to content

marblecoma/boids-uiua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Boids in Uiua

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.

TODO

  • Quadtree?
  • Allow program to be reset via keyboard command
  • Allow dynamic control of strength of each force
  • Make the flashing a singular event

About

Boids in Uiua using Iris library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published