video thumbnail 8:35
Coding Adventure: Boids

2019-08-26

[public] 1.06M views, 75.3K likes, 172 dislikes audio only

channel thumbSebastian Lague

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/tree/master

Boids paper: http://www.cs.toronto.edu/~dt/siggraph97-course/cwr87/

Points on a sphere: https://stackoverflow.com/a/44164075

Fish shader: https://github.com/albertomelladoc/Fish-Animation/blob/master/FishAnimation.shader and https://www.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:

https://www.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

http://creativecommons.org/licenses/by/4.0/


Intro
/youtube/video/bqtqltqcQhw?t=0
The three rules of being a boid
/youtube/video/bqtqltqcQhw?t=26
Obstacle avoidance
/youtube/video/bqtqltqcQhw?t=104
Getting sidetracked by spirals
/youtube/video/bqtqltqcQhw?t=183
Back to obstacle avoidance
/youtube/video/bqtqltqcQhw?t=372
Obstacle course and optimization
/youtube/video/bqtqltqcQhw?t=415
Swimming with the fishies
/youtube/video/bqtqltqcQhw?t=467
Sebastian Lague Hello, on this channel I explore how to create stuff out of code. I hope you find some of it interesting!
/youtube/channel/UCmtyQOKKmrMVaKuRXz02jbQ
Coding Adventures by Sebastian Lague
/youtube/video/vTMEdHcKgM4
Support on Patreon patreon.com
https://www.patreon.com/SebastianLague/
Coding Adventure: Ray Marching 944,360 views
/youtube/video/Cp5WWtMoeKg