Log In  

Cart #fifokigej-0 | 2020-01-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

What is this?

This is a simulation designed to mimic the behaviour of flocking birds, with the ability for them to evade predators. Predators will chase after the nearest Boid to them and will kill it if it gets too close.
A count of all active objects is displayed on the side.

Controls:

Z to spawn in a Boid
X to spawn in a Predator
Arrow Keys to move the cursor

P#72159 2020-01-22 04:32 ( Edited 2020-01-23 00:45)

Allowing large groups of prey to chase predators would make an interesting twist!

P#72161 2020-01-22 06:43
1

Hmm! I tried to do a boids simulation ages ago and couldn't get anywhere near the performance you're getting.

I gave it up as impossible, but clearly I gave up too soon. I wonder what I was doing wrong.

Good work!

P#72180 2020-01-22 21:09

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 10:52:51 | 0.010s | Q:20