this post was submitted on 23 May 2025
7 points (100.0% liked)

Internet is Beautiful

1985 readers
17 users here now

Welcome to Internet is Beautiful Lemmy and Mbin community.

Find a cool or useful website on the internet. Share it here so others Lemmings can bookmark it too.


Rules

Related Communities

founded 7 months ago
MODERATORS
 

Neat flocking simulation

you are viewing a single comment's thread
view the rest of the comments
[–] m_f@discuss.online 1 points 4 days ago

In the HN thread, someone asked "how are genetic (algorithms) used?", which is what I'm wondering too. The creator says:

so, i just used them like conceptually..

each boid has a string, when boids come close , they produce a offspring with mixed string + mutation age lets boids die too

nothing fancy, just for sake of sim

If you're unfamiliar with Boids, it's an algorithm that's been around for a while, and simulates flocking like you see in birds pretty well:

https://en.wikipedia.org/wiki/Boids

Can't remember where I saw someone do this, but applying the algorithm to humans in games gives you a very zombie-like behavior.