←back to thread

Orb Farm

(orb.farm)
783 points thunderbong | 2 comments | | HN request time: 0.468s | source
Show context
SeanAnderson ◴[] No.36002901[source]
:) Love seeing this at the top of HN! This project, along with sandspiel (by the same creator), are some of my biggest inspirations!

If you're not aware, there's a relatively deep technical explanation of how sandspiel was built which I found interesting. If you're into orb.farm then you'll probably find it interesting, too: https://maxbittker.com/making-sandspiel

And, shameless plug, I've been teaching myself Rust/Bevy/ECS lately and am creating a simulation ant farm. The project is still in its infancy, and is nowhere near as cool as these, but https://meomix.github.io/symbiants/ for some ants that scurry around and emergently create piles of sand. Pan/Zoom launching in a couple of hours, feeding them hopefully in the next week or so. If you have ideas for simple features I'd love to hear them or if you want to follow along with the project check my profile for a Discord link.

replies(4): >>36003320 #>>36003900 #>>36005569 #>>36007217 #
Nezteb ◴[] No.36005569[source]
I love ants and replicating their behavior in code!

You might like these projects:

"Coding Adventure: Ant and Slime Simulations" by Sebastian Lague:

Video: https://www.youtube.com/watch?v=X-iSQQgOd1A

Code https://github.com/SebLague/Ant-Simulation

"C++ Ants Simulation 1, First approach" by Pezzza's Work:

Video: https://www.youtube.com/watch?v=81GQNPJip2Y

Code: https://github.com/johnBuffer/AntSimulator

replies(1): >>36006077 #
1. SeanAnderson ◴[] No.36006077[source]
Thank you for the resources! I'll add them to my list of bookmarks. :)
replies(1): >>36006885 #
2. harrisi ◴[] No.36006885[source]
This is maybe a bit too specific to Clojure and more generally about concurrency in it, but Rich Hickey introduced Clojure with an ant simulation demonstration. The video quality is not great, but there's an article (sadly not up anymore, but on the way back machine):

https://web.archive.org/web/20160409080236/http://juliangamb...

Video directly: https://youtu.be/dGVqrGmwOAw