Live data from Hacker News

Orb Farm

orb.farm

71–80 of 106 posts

Re: Orb Farm

#71
post #58

Earlier quoted context omitted.

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

Thank you for the resources! I'll add them to my list of bookmarks. :)

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

Re: Orb Farm

#72
post #68

The balancing seems a bit off. But oh man, this thing is so mesmerizing and addictive :) Daphnia are too aggressive eating algae and produce too many eggs when doing so, so the algae population gets constantly suppressed in most settings. Fish also barely eat daphnia so it is hard to control their population with them. It is also too hard for daphnia to eat grass. It slowly grows uncontrolled to fill a lot of the tan…

You have to tinker a bit. I haven't figured out the role that the bacteria play yet, but too low of oxygen means you need more algae/grass to generate more O2 during daylight hours. (And yes, it will crash at night when there's less photosynthesis)

Don't put too many critters in there either. Mine is pretty stable for a few hours now with 3 fish, and ample grass and algae.

Side question: Is it in my head, or are the fish slowly growing?

Re: Orb Farm

#74

:) 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/B…

Discussed here:

Making Sandspiel - https://news.ycombinator.com/item?id=34555913 - Jan 2023 (10 comments)

Making Sandspiel - https://news.ycombinator.com/item?id=19793835 - May 2019 (9 comments)

Sandspiel – A falling sand game built in Rust and WebGL - https://news.ycombinator.com/item?id=18696291 - Dec 2018 (185 comments)

Re: Orb Farm

#75

What are the bacteria supposed to eat? Unless they are cyanobacteria?

They eat waste from algae, but they seems to devour it too quickly, and may even spur more algae growth. The balance and influences seems to be a bit of a mystery, despite the documentation.

Re: Orb Farm

#76
post #68

The balancing seems a bit off. But oh man, this thing is so mesmerizing and addictive :) Daphnia are too aggressive eating algae and produce too many eggs when doing so, so the algae population gets constantly suppressed in most settings. Fish also barely eat daphnia so it is hard to control their population with them. It is also too hard for daphnia to eat grass. It slowly grows uncontrolled to fill a lot of the tan…

I figured out you can limit the living area of Daphnia using glass and sand, and then feed the fishes with only grass.

Re: Orb Farm

#78
post #72
post #68

The balancing seems a bit off. But oh man, this thing is so mesmerizing and addictive :) Daphnia are too aggressive eating algae and produce too many eggs when doing so, so the algae population gets constantly suppressed in most settings. Fish also barely eat daphnia so it is hard to control their population with them. It is also too hard for daphnia to eat grass. It slowly grows uncontrolled to fill a lot of the tan…

You have to tinker a bit. I haven't figured out the role that the bacteria play yet, but too low of oxygen means you need more algae/grass to generate more O2 during daylight hours. (And yes, it will crash at night when there's less photosynthesis) Don't put too many critters in there either. Mine is pretty stable for a few hours now with 3 fish, and ample grass and algae. Side question: Is it in my head, or are the…

For bacteria: I believe their role is to provide nitrogen in the sand by eating algae poop. Nitrogen in the sand is required for plants in that sand to grow.

You can test this a bit:

1. Create a new sphere and fill it with water. Add a bit of sand at the bottom

2. Add algae and fastforward.

3. The algae will multiply, causing the o2 to shoot up.

4. The algae will die off because of the high o2. Their dead bodies (purple dots) will litter the sea floor.

5. Put in some bacteria.

6. You can watch the bacteria eat the purple dots. Note that the sand changes color slightly as they do - I think that's the sand becoming nitrogen-rich.

Re: Orb Farm

#79

Earlier quoted context omitted.

If you haven't been exposed to it, check out Noita. It's a falling sand action roguelike where the entirety of the world is simulated.

Haha, already got it! Super hard though, if it wasn't for mods I'd never play that game.

Always backup your saves
Post reply on HN