An open API service indexing awesome lists of open source software.

https://github.com/asankasovis/03.-flocking-simulation

I created a Flocking Simulation in this code. We see birds and bees flocking in nature all the time, but can we create this sort of behaviour on a computer? In this small demonstration, I apply a set of rules to a bunch of triangles so that they behave like a flock of birds... or boids to be precise. This is based on the works done by Craig Reynolds. In it he describes a way to create this kind of a flock of boids in a simulation
https://github.com/asankasovis/03.-flocking-simulation

generative-art processing

Last synced: 11 months ago
JSON representation

I created a Flocking Simulation in this code. We see birds and bees flocking in nature all the time, but can we create this sort of behaviour on a computer? In this small demonstration, I apply a set of rules to a bunch of triangles so that they behave like a flock of birds... or boids to be precise. This is based on the works done by Craig Reynolds. In it he describes a way to create this kind of a flock of boids in a simulation

Awesome Lists containing this project

README

          

# 03. Flocking Simulation 🪶
## Animating a Flock of Birds
I created a Flocking Simulation in this code.
We see birds and bees flocking in nature all the time, but can we create this sort of behaviour on a computer? In this small demonstration, I apply a set of rules to a bunch of triangles so that they behave like a flock of birds... or boids to be precise. This is based on the works done by [Craig Reynolds](https://www.red3d.com/cwr/index.html). In it he describes a way to create this kind of a flock of boids in a simulation, you can find his work [here](https://www.red3d.com/cwr/boids/).

Check the [Blog Post](https://asanka.hashnode.dev/03-flocking-simulation-making-a-flock-of-boids) that this repo is connected to.

---

[Flocking Simulation Sample](https://github.com/asankaSovis/Flocking_Simulation/blob/main/Example%20Output/Boids%20-%20Flocking%20Simulation.gif)

---

### Find me on social media

[facebook](https://www.facebook.com/artist.artist.98) [github](https://github.com/asankaSovis) [instagram](https://www.instagram.com/asankaakashsovis/) [twitter](https://twitter.com/AsankaSovis) [linkedin](https://www.linkedin.com/in/asanka-sovis/) [YouTube](https://www.youtube.com/c/AKASHSOVIS/)
[Deviant](https://www.deviantart.com/asanka98) [Pinterest](https://www.pinterest.com/asankasovis) [Pinterest](https://asanka-sovis.blogspot.com/)