Загрузка страницы

Flocking Simulation: Boids (JavaScript)

In this project I fiddled around with a boids simulation, making them fly through space and underwater (using the three.js JavaScript framework). I run through some of the basic steering behaviours and how to combine them, building them up into something that looks complex and interesting. I also taking the flocking simulation and apply it to an underwater scene and an outer space scene, describing any tweaks and changes I make along the way.

Can't promise the code is bug free, but its all available online on github. Feel free to grab it, fork it, laugh at it, etc.

What's covered:
* Steering Behaviours
I'll go over the steering behaviours we used in this particular flocking simulation (separation/alignment/cohesion), how they're derived, and how they're combined.

* Underwater Scene
Using the working behaviours and boids from the first section, I threw together a small underwater scene with a few (poorly modelled) fish. I describe what tweaks I made to the flocking simulation and steering behaviours to get the behaviour I wanted.

* Space Scene
Again, took the existing flocking simulation and tried to apply it to a more "Battlestar Galactica" type of scene, with ships and explosions and stuff. Described a few of the tweaks and changes I applied.

Github: https://github.com/simondevyoutube/FlockingSimulation_Space

Wikipedia: https://en.wikipedia.org/wiki/Boids
Craig Reynolds: https://www.red3d.com/cwr/boids/

#flocking #boids #gamedevelopment

Видео Flocking Simulation: Boids (JavaScript) канала SimonDev
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
23 января 2020 г. 3:12:10
00:10:42
Яндекс.Метрика