Show HN: Genetic Boids Web Simulation
21–30 of 46 posts
Re: Show HN: Genetic Boids Web Simulation
#22The original Boids is from Craig Reynolds, here: https://www.red3d.com/cwr/boids/ It was a java applet (sigh) and unfortunately I have not been able to find a working version. That version based on his three "steering" mechanisms had very realistic movement. Other versions, including this one, which are good do not have that same kind of quality. They look like simulations whereas the Reynolds version, for whatever r…
Beyond this i was trying to add a map which effects their movement. (if you wanna check how it looks - https://x.com/attentionmech/status/1925690991555531143)
Re: Show HN: Genetic Boids Web Simulation
#23I've just built a boid simulation in Go and WebGPU. 16k boids are no problem on my M1 Mac Pro. I did not implement any optimization yet.
Re: Show HN: Genetic Boids Web Simulation
#24I'll just say that this looks insanely good, wow.
Re: Show HN: Genetic Boids Web Simulation
#25[flagged]
If you got insights from that response, why not talk about those instead of copy-pasting a wall of shallow LLM output here?
Re: Show HN: Genetic Boids Web Simulation
#26The original Boids is from Craig Reynolds, here: https://www.red3d.com/cwr/boids/ It was a java applet (sigh) and unfortunately I have not been able to find a working version. That version based on his three "steering" mechanisms had very realistic movement. Other versions, including this one, which are good do not have that same kind of quality. They look like simulations whereas the Reynolds version, for whatever r…
The original paper, published in 1987, is "Flocks, herds and schools: A distributed behavioral model"[1]. The implementation was done in Lisp on a Symbolics 3600 Lisp Machine.
Edit: One quite interesting paragraph from the paper regarding performance:
The boid software has not been optimized for speed. But this report would be incomplete without a rough estimate of the actual performance of the system. With a flock of 80 boids, using the naive O(N²) algorithm (and so 6400 individual boid-to-boid comparisons), on a single Lisp Machine without any special hardware accelerators, the simulation ran for about 95 seconds per frame. A ten-second (300 frame) motion test took about eight hours of real time to produce.
Once again, amazing how far hardware has advanced.
Re: Show HN: Genetic Boids Web Simulation
#27Re: Show HN: Genetic Boids Web Simulation
#28I really like it, though I'm finding it dies consistently after about 30s (Vivaldi on an intel iMac with a decent GPU).
EDIT: also pushed some fixes in params (allow offsprings at larger distance, etc), but basically if the boids don't end up closer, they won't reproduce and the population dies so play with that and lmk
Re: Show HN: Genetic Boids Web Simulation
#29Re: Show HN: Genetic Boids Web Simulation
#30The original Boids is from Craig Reynolds, here: https://www.red3d.com/cwr/boids/ It was a java applet (sigh) and unfortunately I have not been able to find a working version. That version based on his three "steering" mechanisms had very realistic movement. Other versions, including this one, which are good do not have that same kind of quality. They look like simulations whereas the Reynolds version, for whatever r…