Symulacja stada (boids)

Boids and flocking simulation · id boids · aliases: boids, flocking, flocking simulation, stado, symulacja stad

Rozproszony model zachowania stada, w którym każdy agent steruje się trzema regułami względem sąsiadów w lokalnym zasięgu.

A distributed flocking model where each agent steers by three rules relative to neighbours within a local range.

In one sentence

Trzy proste reguły ruchu, dzięki którym animowane ptaki, ryby czy tłumy poruszają się razem jak prawdziwe stado.

Three simple movement rules that make animated birds, fish or crowds move together like a real flock.

Problem it solves

Ręczne animowanie tysięcy ptaków czy ryb byłoby niewykonalne, a losowy ruch wygląda sztucznie.

Hand-animating thousands of birds or fish would be impossible, and random motion looks fake.

What it does

Każdy osobnik tylko omija zbyt bliskich sąsiadów, dopasowuje się do ich kierunku i trzyma się grupy; resztę robi wspólny efekt.

Each member only avoids neighbours that are too close, matches their heading and stays with the group; the joint effect does the rest.

Everyday example

W filmie lub grze ogromna ławica ryb zgrabnie omija nurka; nikt nie rysował jej klatka po klatce, ruch wynika z reguł.

In a film or game a huge school of fish smoothly swerves around a diver; nobody drew it frame by frame, the rules produce it.

This concerns you if you…

Related topics

Sources