Uploaded August 2019 | Updated September 2026, 2 weeks ago
Trying to create some flocking behaviour, and getting a little distracted by spirals along the way...
Links and Resources:
Project source: github.com/SebLague/Boids/tree/master
Boids paper: http://www.cs.toronto.edu/~dt/siggraph97-course/cwr87/
Points on a sphere: stackoverflow.com/a/44164075
Fish shader: github.com/albertomelladoc/Fish-Animation/blob/master/FishAnimation.shader and bitshiftprogrammer.com/2018/01/how-to-animate-fish-swimming-with.html
If you'd like to support the creation of more programming videos, I'd greatly appreciate your support on patreon:
patreon.com/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
creativecommons.org/licenses/by/4.0
Trying to create some flocking behaviour, and getting a little distracted by spirals along the way...
Links and Resources:
Project source: github.com/SebLague/Boids/tree/master
Boids paper: http://www.cs.toronto.edu/~dt/siggraph97-course/cwr87/
Points on a sphere: stackoverflow.com/a/44164075
Fish shader: github.com/albertomelladoc/Fish-Animation/blob/master/FishAnimation.shader and bitshiftprogrammer.com/2018/01/how-to-animate-fish-swimming-with.html
If you'd like to support the creation of more programming videos, I'd greatly appreciate your support on patreon:
patreon.com/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
creativecommons.org/licenses/by/4.0



![[Unity] 2D Curve Editor (E05: evenly spaced points)
Source: https://github.com/SebLague/Curve-Editor
Support the creation of more gamedev tutorials:
https://www.patreon.com/SebastianLague
https://www.paypal.me/SebastianLague [Unity] 2D Curve Editor (E05: evenly spaced points)](https://i.ytimg.com/vi/d9k97JemYbM/mqdefault.jpg)






![[Ludum Dare #38] Space Turtle: Behind the Scenes
A behind the scenes video for my entry to the 38th Ludum Dare compo (make a game in 48hrs). The theme this time around was A Small World.
You can view the game here: https://ldjam.com/events/ludum-dare/38/space-turtle [Ludum Dare #38] Space Turtle: Behind the Scenes](https://i.ytimg.com/vi/fESeYz0zRFA/mqdefault.jpg)