Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    ants simulation

    Hugh Lomas

    1 HN recommender · recommended in 3 months, 2014–2022

    YouTube

    0:31 · 1.5K views · Oct 15, 2014

    A one-minute visualization of a simulated ant colony in which ants follow pheromone trails, with the source code on GitHub. It shows emergent behavior arising from simple rules.

    Linked in ant-simulation threads as a compact, open-source example of emergent behavior.

    Design, Graphics & Visual MediaCreative coding & generative artComputer graphics & rendering
    1. 17:54
      Coding Adventure: Ant and Slime SimulationsSebastian Lague2.2M views • 5 years ago
    2. 16:01
      How life emerges from a simple particle motion law: Introducing the Primordial Particle SystemArtificial Life Lab Graz497K views • 9 years ago
    3. 1:30
      Life in lifePhillip Bradbury4.1M views • 14 years ago
    4. 3:37
      SmoothLifeLTim Hutton312K views • 14 years ago
    5. 4:09
      Evolved Virtual Creatures (1994)karlsims43K views • 6 years ago
    6. 42:00
      I painted a Landscape with MathematicsInigo Quilez812K views • 4 years ago
    7. 4:10
      Karl Sims - Evolved Virtual Creatures, Evolution Simulation, 1994MediaArtTube797K views • 17 years ago
    8. 24:46
      Painting a Character with MathsInigo Quilez458K views • 5 years ago
    9. 5:58
      MarI/O - Machine Learning for Video GamesSethBling12M views • 11 years ago
    10. 1:07:26
      Procedurally Crafting Manhattan for Marvel's Spider-ManGDC Festival of Gaming89K views • 7 years ago
    11. 26:13
      Animation Bootcamp: An Indie Approach to Procedural AnimationGDC Festival of Gaming787K views • 9 years ago
    12. 6:02
      OpenAI Plays Hide and Seek…and Breaks The Game! 🤖Two Minute Papers11M views • 7 years ago
    13. 29:16
      SYMBOLICS S-PACKAGES 3D GRAPHICS AND ANIMATION DEMORed Martian14K views • 13 years ago
    14. 10:44
      P vs. NP and the Computational Complexity Zoohackerdashery3.7M views • 12 years ago
    15. 30:55
      [JSConfUS 2013] Steven Wittens: Making WebGL DanceJSConf56K views • 13 years ago
    16. 13:23
      Simulating Green Beard AltruismPrimer4.5M views • 5 years ago
    17. 30:46
      Alex Evans at Umbra Ignite 2015: Learning From FailureMedia Molecule68K views • 11 years ago
    18. 24:02
      Learn to Paint with MathematicsInigo Quilez191K views • 12 years ago
    19. 27:14
      Transformers, the tech behind LLMs | Deep Learning Chapter 53Blue1Brown12M views • 2 years ago
    20. 18:25
      Building pi in a World of Slop — Mario ZechnerAI Engineer582K views • 6 months ago

    3 comments from Hacker News

    1. @newman8rDec 2018· in “Ant Colonies Retain Memories That Outlast the Lifespans of Individuals”

      Take a look at this visualization this video There's a repo in the description. Might not be specifically relevant to your project though

      RecommendsView on HN
    2. @hughlomasOct 2014· in “Simulating the emergent behavior of ant colonies”

      I loved reading this because I made something exceedingly similar a few years ago, and I'm similarly fascinated with how complex behavior can emerge from such simple rules. this video My ants also had no conception of where their home was located, their behavior is entirely pheromone driven. They can "read" pheromones from any adjacent cell. They leave a pheromone every movement depending on which state they are in, either "find food" or "return food". In my system, the pheromones have a strength. Whenever an ant touches the nest, his "nest pheromone" is at full strength (255). Each movement decreases the strength by 1. This sets up a natural gradient of nest strength for ants to follow. They also "deteriorate" each round as yours do. A similar setup is used with food, such that a high food scent is created when they pick up food, and decreases in strength as they return to the nest. So to find food, they try to move up a food gradient or down the nest gradient (away from the nest), while to return food they move up the nest gradient (towards the nest). Their searching consists of a random walking into cells that have no nest scent, or following a food trail. They have an energy cost for moving, and if it's too low they have to eat a piece of food. Returning a piece of food to the hill spawns a new ant. The lines on the right side show the population of each colony and the total food on the board. From these extremely basic rules, they are very efficient at clearing the "world"

      CitesView on HN
    3. @hughrlomasJul 2022· in “Show HN: Ants Sandbox - an ants simulator”

      This is great to see. Years ago I created a basic simulation using the same principles of pheromone gradients, one for the nest and one for food. this video It a fascinating example of emergent behavior from simple rules. I've been wanting to find time to revisit the concept and produce an updated version, your simulation seems to include everything I wanted to do and more.

      CitesView on HN