Coding Adventure: Ant and Slime Simulations
Sebastian Lague6 HN recommenders · recommended in 5 months, 2021–2024
demo · intermediate · evergreen · 2021–2024 on HN
Sebastian Lague explores an ant-inspired algorithm and simulates ant and slime mold behavior, using compute shaders. Source code for both simulations is available.
HN recommends it as a beautiful example of what simple rules and compute shaders can produce, and many commenters were inspired by it.
Up next
2 mo on HNThe Absurdity of Detecting Gravitational Waves
Veritasium
3 HN recommender · 2017–2019
10 mo on HNYouTube's copyright system isn't broken. The world's is.
Tom Scott
13 HN recommender · 2020–2024
4 mo on HNGDC 2018: John McDonald (Valve) - Using Deep Learning to Combat Cheating in CSGO
max4warn
5 HN recommender · 2018–2026
2 mo on HNKarl Sims - Evolved Virtual Creatures, Evolution Simulation, 1994
MediaArtTube
2 HN recommender · 2014–2022
4 mo on HNDavid Beazley - Lambda Calculus from the Ground Up - PyCon 2019
PyCon 2019
4 HN recommender · 2019–2021
3 mo on HNTHE MARS UNDERGROUND [HD] Full Movie
Blue Mars
3 HN recommender · 2014–2015
3 mo on HNThe Why, What, and How of Pinning in Rust
Jon Gjengset
3 HN recommender · 2021–2026
3 mo on HNBlack Hat USA 2013 - OPSEC failures of spies
Black Hat
3 HN recommender · 2016–2019
17 mo on HN8 Bit & '8 Bitish' Graphics-Outside the Box
GDC Festival of Gaming
13 HN recommender · 2018–2026
10 mo on HNelevated by Rgba & TBC | 4k intro (FullHD 1080p demoscene demo)
Demoscene High-Quality Videos (Annikras)
7 HN recommender · 2013–2025
10 mo on HNPainting a Character with Maths
Inigo Quilez
13 HN recommender · 2021–2025
6 mo on HNThe Art of Code - Dylan Beattie
NDC Conferences
6 HN recommender · 2020–2024
6 comments from Hacker News
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 ]
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
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).
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
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.
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