Talks to Watch

Coding Adventure: Ant and Slime Simulations

2.2M views · Mar 25, 2021 · 17:54 · 6 HN recommenders · 6 mentions · discussed 2021–2024

Sebastian Lague explores an ant-inspired algorithm and simulates ant and slime mold behavior, using compute shaders. Source code for both simulations is available.

Why Hacker News points people here: HN recommends it as a beautiful example of what simple rules and compute shaders can produce, and many commenters were inspired by it.

“reminded how beautiful coding can be”HN comment, 2024

What Hacker News said 6

Strongly recommendsehsankiaApr 2021

“this recent video Coding Adventures video was pretty mind blowing”

Mind-blowing ant and slime simulation, especially part two.

Full comment

Speaking of ant and slime simulation, this recent video Coding Adventures video was pretty mind blowing: this video (Especially part 2 starting around 10m in).

in “Time flies in Google Earth’s biggest update in years” · view on HN
Strongly recommendsUdoMay 2023

“Sebastian Lague made an excellent video”

Explores path-finding via trails and gradient signaling.

Full comment

Sebastian Lague made an excellent video "Ant and Slime Simulations" which explores how path-finding algorithms can use trails and gradient-based signaling to solve spatial problems: this video

in “Ze Frank True Facts: The Smartest Slime” · view on HN
Strongly recommendsRisordAug 2024

“reminded how beautiful coding can be”

Reminded commenter how beautiful coding can be.

Full comment

At the time I was lost joy of coding too but I was able to found it again. One key point was to ignore learning new tech if it was not absolutely necessary and focus just creating new things. I think it all started from Sebastian Lague's video which reminded how beautiful coding can be. [ this video ]

in “The secret inside One Million Checkboxes” · view on HN
RecommendstheossuaryMar 2021

“replicates slime molds in Unity”

Replicates slime molds in Unity with high-res results.

Full comment

This reminds me of a coding adventure YT video that replicates slime molds in Unity, look at the end to see some high res videos of it - this video

in “Show HN: Play with Shaders Inspired by Slime Mold” · view on HN
RecommendsBerg0X00Jun 2021

“can recommend it to those that want to see a bit of what is possible with compute shaders”

Sparked interest in compute shaders and shows what is possible.

Full comment

Thanks for sharing this! I have not watched the full video yet but definitely will. Recently got interested in compute shaders thanks to this video: this video and can recommend it to those that want to see a bit of what is possible with compute shaders.

RecommendsNeztebMay 2023

“You might like these projects”

Ant behavior replicated in code, with source available.

Full comment

I love ants and replicating their behavior in code! You might like these projects: "Coding Adventure: Ant and Slime Simulations" by Sebastian Lague: Video: this video Code link "C++ Ants Simulation 1, First approach" by Pezzza's Work: Video: link Code: link