Skip to content
0:00 / 0:00

#boids#flockingalgorithm#artificiallife

Boids : An artificial life simulation of flock of birds

PixPhyViz

188 subscribers • 1 video on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Linked in the descriptionLehnart/alife

Beginner. No background in the topic needed.

618 views4 years ago1 recommendation

Computer scienceAlgorithms

A visual demonstration of the Boids flocking algorithm simulating bird behaviors like collision avoidance, velocity matching, and flock cohesion.

This is a simulation of the flocking of birds called Boids. I copy a link below to a website with more information about the algorithm. Each triangle represents a bird in the simulation. The color represents the current behavior of the bird. If it is white, it is just going straightway. If it is green, it has seen some close birds and tries to get closer to them. If it is blue, it is sufficiently close to other birds and tries to go in the same way as them. If it is red, it tries to avoid collision with a close bird. What you see are flocks of birds forming and merging. It's part of the interest I have in artificial life. My code (all C + SDL now) is available here: github.com/Lehnart/alife A proper description of the method and the algorithm is available here: cs.stanford.edu/people/eroberts/courses/soco/projects/2008-0… #science #video #swarm #computer #computerscience #artificiallife #artificial #shorts #simulation

Why it's here

1 person recommends this

What people say. Recommended as an interesting exploration of swarm intelligence and artificial life.

u/Seitohin r/compsci • Recommends

On “Ant colony simulation”

Let's continue exploring artificial life, and more specifically swarm intelligence. Following the boid simulation ([video I try to extend it for ant colony simulation. The color represents the current behavior of the ant. If it is green, it is too far from another ant and so it tries to get closer to the colony. If it is blue, it tries to spread compared to other ants to explore. If it is red, it tries to avoid collision with a close ant. If it is yellow, It has found food and tries to pick it up. If it's black, it goes back home with food. Ant has no memory and thus returns to exploring after bringing back the food. Fun to watch, but I have many ideas to improve this simulation. I take…