Skip to content

🐦🐜This repository contains simulations of emergent behavior such as the swarming behavior of flocking birds and schooling fish, as well as the foraging behavior of ant colonies.

License

Notifications You must be signed in to change notification settings

patrick-mahnkopf/emergent-algorithms

Repository files navigation

Emergent Algorithms

contributors forks stars license issues Quality Gate Status

This repository contains interactive simulations of emergent behavior running directly in the browser, rendered using PixiJS.
Try the live demo or run the project locally using Angular.

Emergent Behavior

What is emergent behavior?

Emergent behavior is the result of many small entities working with a simple ruleset to create something that's larger than the sum of its parts. Each agent in these simulations acts on a very simple ruleset and can not do much on its own. When it interacts with the other agents however, new properties and behaviors emerge which were not part of either agent before. This phenomenon is so common that it might even be what combines the building blocks of nature into the very reality we perceive.

Where does emergent behavior occur?

We can observe emergence in nonliving physical systems like the ripple patterns forming in sand dunes, water crystals forming into snow flakes, and even in the very fabric of space and time that governs our existence, since the laws of physics themselves likely stem from emergent behavior. This in turn might mean that chemistry is an emergent property of the laws of physics, and biology one of the laws of chemistry. The simulations here will focus on biological and social effects of emergence in the form of swarming behavior as observed in schooling fish, and flocking birds among others, as well as the foraging behavior of ant colonies.

boids

Development Setup

Prerequisites

npm install -g @angular/cli
  • Clone the repository:
git clone https://github.com/patrick-mahnkopf/emergent-algorithms.git
  • Run the Application:
cd emergent-algorithms
ng serve --open

About

🐦🐜This repository contains simulations of emergent behavior such as the swarming behavior of flocking birds and schooling fish, as well as the foraging behavior of ant colonies.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published