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
- Host: GitHub
- URL: https://github.com/asankasovis/03.-flocking-simulation
- Owner: asankaSovis
- License: cc0-1.0
- Created: 2022-05-15T02:47:19.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-17T06:25:15.000Z (about 4 years ago)
- Last Synced: 2025-03-28T14:43:37.645Z (about 1 year ago)
- Topics: generative-art, processing
- Language: Processing
- Homepage:
- Size: 14.4 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.
---
[
](https://github.com/asankaSovis/Flocking_Simulation/blob/main/Example%20Output/Boids%20-%20Flocking%20Simulation.gif)
---
### Find me on social media
[
](https://www.facebook.com/artist.artist.98) [
](https://github.com/asankaSovis) [
](https://www.instagram.com/asankaakashsovis/) [
](https://twitter.com/AsankaSovis) [
](https://www.linkedin.com/in/asanka-sovis/) [
](https://www.youtube.com/c/AKASHSOVIS/)
[
](https://www.deviantart.com/asanka98) [
](https://www.pinterest.com/asankasovis) [
](https://asanka-sovis.blogspot.com/)