See http://www.red3d.com/cwr/boids/ for some background.
For the GPU version you'll need
Both the CPU and the GPU versions require
The JavaScript version depends on
There are three main make
targets:
cpu
gpu
boids.js
OpenMP is supported โ if you're using GCC turn it on by adding -fopenmp
to CFLAGS and LDFLAGS.
The -f
command line argument enables the fullscreen mode.
An attractor can be set using the left mouse button and removed using the right mouse button.
Pressing any key kills the application.
See LICENSE
.