← All projects
Project record1 mention
Originally shared on Hacker News

Unnamed project

A browser-based ant simulation that models how ants walk while searching for food. The search walk is modeled on real ant track data from research experiments and is compared against a random walk, with the realistic walk on by default and toggleable.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Unnamed project

    A browser-based ant simulation that models how ants walk while searching for food. The search walk is modeled on real ant track data from research experiments and is compared against a random walk, with the realistic walk on by default and toggleable.

    Posted by @hokapo · Original source ↗

    Story title · @hokapo · · Source ↗

    Show HN: An ant simulation whose search walk is tested against real ant tracks

    Submitted URL · @hokapo · · Source ↗

    https://hokapo-ants.pages.dev/

    Source text · @hokapo · · Source ↗

    I've been building an ant simulation that runs in the browser, and thought maybe someone would have fun playing around with it for a few minutes.

    Source text · @hokapo · · Source ↗

    it sent me down a rabbit hole, finding research papers on the topic, and making a model of how real ants walk in real-life experiments.

    Source text · @hokapo · · Source ↗

    The "realistic" walk is on by default, and you can turn it off to see how it compares to a random walk. The research paper I got the real ant data from showed that the ants' walks aren't a simple random walk, by comparing the times they cross their own path to that of a random walk, and I took their ideas and metrics further when making my own model.

    Source text · @hokapo · · Source ↗

    For now I focused only on the walking patterns when the ants are searching for food, and not on how they follow pheromone trails or how they find their way home.