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

Internet is Beautiful

1978 readers
10 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

top 1 comments
sorted by: hot top controversial new old
[–] m_f@discuss.online 1 points 1 day 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.