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

[MIGRATED TO DIFFERENT INSTANCE CHECK PIN POST] Internet is Beautiful

2003 readers
1 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 10 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 3 months 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.