In this final video segment, we see a simulation of birds flocking. The sky is filled with 200 birds flying in random directions. Each of the birds then follows three simple rules: "alignment", "separation", and "cohesion".

"Alignment" means that a bird tends to turn so that it is moving in the same direction that nearby birds are moving. "Separation" means that a bird will turn to avoid another bird which gets too close. "Cohesion" means that a bird will move towards other nearby birds (unless another bird is too close). When two birds are too close, the "separation" rule overrides the other two, which are deactivated until the minimum separation is achieved.

By following these three simple rules, the 200 birds manage to form a cohesive flock quite quickly!

Do NOT follow this link or you will be banned from the site!

Non-profit Tax ID # 203478467