Ant Colony Simulation, 5000 Ants surrounded by food(HD)

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024

Комментарии • 55

  • @gangreneday
    @gangreneday 3 года назад +56

    Could you make competing colonies that are different colors? There are so many cool possibilities...

    • @bobsmithy3103
      @bobsmithy3103 3 года назад +1

      How would they compete though? Do you mean make two nests and see which would gather the most amount of food? Or do you mean allow different colonies of ants to fight each other? But if you made ants from different colonies able to attack, it'd just be very arbitrary and be hugely dependent on how it's coded (unless you mean use a neural network, but it's questionable whether the neural network would even follow the same behaviors as normal ants).

    • @sortagoodish8491
      @sortagoodish8491 3 года назад +5

      @@bobsmithy3103 it doesn't have to be a simulation of natural ants, ya know; these ants themselves aren't even acting very naturally, come to think of it

    • @thoainguyen179
      @thoainguyen179 3 года назад +1

      @@sortagoodish8491 yeah sometimes they just loop around the food without acknowledging it

    • @bobsmithy3103
      @bobsmithy3103 3 года назад

      @
      Bored Serf What kind of competition would you like to see? I might try making it over the next couple days

    • @sythrus
      @sythrus 3 года назад +1

      @@thoainguyen179 to be completely fair irl sometimes ants will get stuck in a loop following each other's pheromones and will literally starve to death

  • @dourwolf6697
    @dourwolf6697 3 года назад +12

    I love how cool this looks. If you want more realism, then I have some ideas. It would be cool if maybe there was a pheromone that would spread along the surface of food, to mark it. (It would also work if the blue pheromone could spread across a food surface.) The ants would then focus more on getting food quickly, and less on digging extensive and time-consuming food tunnels.
    It may also be interesting to have dense food, like the ants are eating kibbles of dog food or something like that. Food that will take a certain amount time to detach from its starting position.

  • @rdyer8764
    @rdyer8764 3 года назад +14

    Thanks for letting this run to its logical end - exhausting all the food.
    It appears to me that the population is a constant throughout the simulation. Are there some simulations that include population growth and decline based on the amount of food found?

    • @ZoomHorizon
      @ZoomHorizon  3 года назад +4

      Thanks for watching till the end. The population grows to 5000 and stays there till the end. I am looking for more complex simulations for future videos and population fluctuations with food availability would be interesting to watch. Thanks for the suggestion.

    • @rdyer8764
      @rdyer8764 3 года назад +1

      @@ZoomHorizon I only recently found your channel. I usually watch any simulation to the end. Like a lot of people (I'm guessing), I try to predict what's going to happen next as it goes along. Pretty cool stuff.

  • @pinaz993
    @pinaz993 3 года назад +3

    Idea: Time -> less ants. Food -> more ants.

  • @christianfieldhouse902
    @christianfieldhouse902 3 года назад +4

    It would be nice if you gave the ants the ability to smell food from a short distance, so that they could deviate from the pheromone trail whenever there is food nearby. I think that should stop the slightly unnatural tunnelling behaviour seen here.

    • @ZoomHorizon
      @ZoomHorizon  3 года назад +2

      I will be changing the distance the ants can sense the food, to see how it effects their behavior in a future video. Thanks for the suggestion.

  • @thoainguyen179
    @thoainguyen179 3 года назад +2

    excellent video as always my dude, keep it up!

  • @MCjossic
    @MCjossic 3 года назад +8

    When going home with food, shouldn’t they backtrack along the blue phéromones instead of taking a completely unknown route?
    Also, I just think it would look better

    • @ZoomHorizon
      @ZoomHorizon  3 года назад +4

      They should but the author of this simulation (links in description if you want to read more) wanted to add the real life ability of ants to navigate using the suns position and local landmarks. So they kinda cheat and go straight for the nest entrance.

    • @toddkes5890
      @toddkes5890 3 года назад

      @@ZoomHorizon Add in a timer for the ants, where after a certain amount of time they will return to the nest? Returning to the nest resets this timer to zero (so bringing food back would also reset this timer). This way instead of the mob of ants that are wandering everywhere, you steadily get ants returning to the nest who can then go out and gather more food

  • @jorjiang1
    @jorjiang1 3 года назад +2

    beautiful video, but I have a question about the ants coming home for example in 4:01, why do the ants from upper right conner(and some from bottom right) know how to take that shorter route back home, which no ants have ever took? I thought they all going home by following the chemicals they left behind.

    • @ZoomHorizon
      @ZoomHorizon  3 года назад +1

      Thanks, I'm glad you liked it. The simulation's creator explains in his blog post, link in description. They know where home is, similar to how real ants navigate by the suns position and local landmarks.

  • @idjles
    @idjles 3 года назад +1

    The first minute is showing "Depth first" not "breadth first". Ants would be prefering food that is closer to the nest than further away.

    • @idjles
      @idjles 3 года назад +1

      Try diffusing the hormones with each tick. And making a "I cannot find anything" hormone that gets stronger the longer they found nothing. This should prevent ants hunting where others have failed.

  • @Lorenzo_G_C
    @Lorenzo_G_C 3 года назад +7

    Very cool keep it up.

  • @hioyua650
    @hioyua650 3 года назад +2

    Maybe pathing simulations are the way to go?

  • @mylesbrooks7138
    @mylesbrooks7138 3 года назад +2

    can you make the colonies fight other colonies for food

    • @ZoomHorizon
      @ZoomHorizon  3 года назад

      Not in this simulation, but that would be interesting to watch. I'm looking for more complex simulations for future videos.

    • @mylesbrooks7138
      @mylesbrooks7138 3 года назад

      ok

  • @agentx7138
    @agentx7138 3 года назад +2

    I think each ant needs it's own space could you add a rule that stops them occupying the same place as another any. And maybe give a pickup time that makes them stop briefly once food is found. Combining these two I think would help the simulation by reducing the tunneling.

    • @ZoomHorizon
      @ZoomHorizon  3 года назад

      That is a good suggestion, unfortunately I am not the creator of this simulation. Links are in the description from where you can contact and pass on your suggestion directly.

  • @marekpastyrik1888
    @marekpastyrik1888 3 года назад +2

    for the next video can u make the color of the food more ... paletable ? something that goes bether with the blue and red colorscheme?

    • @ZoomHorizon
      @ZoomHorizon  3 года назад

      @marek pastyrik I would be interested to know what colour you would consider more palatable than green for food, so I can change it in a future video. The colours do seem to go well together on a colour wheel.

    • @angusnorth8578
      @angusnorth8578 3 года назад +1

      @@ZoomHorizon personally I think green is a good colour because 1 you know what it is and 2 it allows you to better focus on the ants and their trails

    • @ZoomHorizon
      @ZoomHorizon  3 года назад

      @Angus North I tend to agree. I have experimented with different colours but couldn't find a better combination than the default. But I am open to suggestions as there are only a small number of settings in this simulation I can change, and I don't want to make too many similar looking videos.

  • @kyjo72682
    @kyjo72682 3 года назад +1

    How come the ants "know" the way back? I don't think live ants have a sense of direction like this.

    • @ZoomHorizon
      @ZoomHorizon  3 года назад

      Ants can navigate using the position of landmarks and the Sun. You can read about this simulation in the author's blog post
      softologyblog.wordpress.com/2020/03/21/ant-colony-simulations/

  • @charadremur333
    @charadremur333 3 года назад +1

    It reminds me of high voltage electricity verry much

  • @oolmfoxz8170
    @oolmfoxz8170 3 года назад +1

    source code ?
    I'm very surprise how fast ants comeback to the nest...

    • @ZoomHorizon
      @ZoomHorizon  3 года назад

      Links in the description to the authors website, I don't think the source code is available though. They know where the nest is, to mimic ants natural ability to navigate using the position of the sun and landmarks.

  • @du42bz
    @du42bz 3 года назад

    Awesome
    Keep it up

    • @ZoomHorizon
      @ZoomHorizon  3 года назад +1

      Thanks, I will try my best

  • @HassanalBolkiahSoyjak
    @HassanalBolkiahSoyjak 3 года назад

    I find it annoying they can walk over the food, if there is food there they should be blocked by it until they eat it.

    • @ZoomHorizon
      @ZoomHorizon  3 года назад

      To be fair this is a simplistic 2d simulation, and real ants do walk over food without eating it. Which would apply in the other videos only if we forget they are supposed to be 2d. In this particular one it would be more realistic if ants couldn't walk through the food they are surrounded by. Hopefully a future update by the creator will add a similar collision detection as we see between the ants and obstacles, to the ants and food as well. Links in description.

  • @DeadJDona
    @DeadJDona 3 года назад +2

    Can you make them surrounded by infinite food‽

    • @ZoomHorizon
      @ZoomHorizon  3 года назад +2

      That would be a very long video as they would never stop gathering food and many viewers like to see the ants take all the food. But infinite food would be interesting to watch for a finite time. Thanks for the suggestion.

    • @GatileoGatilei
      @GatileoGatilei 3 года назад +2

      @@ZoomHorizon infinite virtual ants live video when

    • @DeadJDona
      @DeadJDona 3 года назад +1

      @@ZoomHorizon infinite I mean at least twice the size of colony at all directions, this is reasonable.

    • @ZoomHorizon
      @ZoomHorizon  3 года назад +1

      @Dead J. Dona It is reasonable, but not available as a setting I can change in this simulation. Links are in the description to the creators website if you want to pass on your suggestion for a future update. I am looking for a more complex simulation for future videos, as you and other viewers have made some excellent suggestions that are not available in this one.

    • @ZoomHorizon
      @ZoomHorizon  3 года назад

      @Yo Él Interesting suggestion. Perhaps when I find a simulation that can run for long periods. This one ends when all food reaches the nest. A live ants nest is another possibility. Never kept ants before, would have to look into that as a future project if this channel ever goes all ant...or all animal live cam.. many possibilities!

  • @DeadJDona
    @DeadJDona 3 года назад +1

    It looks damn ineffective

    • @zachwrenn
      @zachwrenn 3 года назад +3

      how does it look ineffective?

    • @DeepDishDepression
      @DeepDishDepression 3 года назад +2

      @@zachwrenn the loops are ineffective as they just go around the food until the food pheromone wears off, blue ants scatter, and food is found again. The scattering, when food isn't found, results in ants just wandering, which is inefficient when the could be carrying food. I feel that more variance while following the trail is needed, and maybe ants in the wandering state avoiding other wanderers in order to declutter the food less space and result in either more food found or the wanderers just joining a train more