Catalog
About
solutions.computational.life
sharing computational life
3d-simulations
/
boids-swarm-simulation
/ 0.0.1
Boids Swarm Simulation using pygfx
An album solution to run a Boids swarm simulation using pygfx.
Tags
napari
Python
stable diffusion
Citation
Boids Algorithm
https://en.wikipedia.org/wiki/Boids
Solution written by
Kyle Harrington
License of solution
MIT
Source Code
View on GitHub
Arguments
--num_boids
Number of boids in the simulation (default value: PARAMETER_VALUE)
--max_speed
Maximum speed of boids (default value: PARAMETER_VALUE)
--max_force
Maximum force applied to boids (default value: PARAMETER_VALUE)
--separation_dist
Distance for separation between boids (default value: PARAMETER_VALUE)
--alignment_dist
Distance for alignment between boids (default value: PARAMETER_VALUE)
--cohesion_dist
Distance for cohesion between boids (default value: PARAMETER_VALUE)
--boundary_size
Size of the boundary for the simulation (default value: PARAMETER_VALUE)
Usage instructions
Please follow
this link
for details on how to install and run this solution.