Trying to create some flocking behaviour, and getting a little distracted by spirals along the way...
Links and Resources:
Project source: https://github.com/SebLague/Boids/tre...
Boids paper: http://www.cs.toronto.edu/~dt/siggrap...
Points on a sphere: https://stackoverflow.com/a/44164075
Fish shader: https://github.com/albertomelladoc/Fi... and https://www.bitshiftprogrammer.com/20...
If you'd like to support the creation of more programming videos, I'd greatly appreciate your support on patreon:
/ sebastianlague
Chapters:
0:00 Intro
0:26 The three rules of being a boid
1:44 Obstacle avoidance
3:03 Getting sidetracked by spirals
6:12 Back to obstacle avoidance
6:55 Obstacle course and optimization
7:47 Swimming with the fishies
Music:
"Beauty Flow" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 4.0 License
http://creativecommons.org/licenses/b...