Coding Adventure: Ant and Slime Simulations
Sebastian Lague6 HN recommenders · 2021–2024
2.2M views · demo · evergreen · Uploaded 2021-03-25
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.
1:25:348 Bit & '8 Bitish' Graphics-Outside the Box
GDC Festival of Gaming
24:26The Beauty of Bézier Curves
Freya Holmér
1:13:50The Continuity of Splines
Freya Holmér
3:36elevated by Rgba & TBC | 4k intro (FullHD 1080p demoscene demo)
Demoscene High-Quality Videos (Annikras)
24:46Painting a Character with Maths
Inigo Quilez
45:35The Real Story Behind Wayland and X - Daniel Stone (linux.conf.au 2013)
Mladen Mijatov
1:10:00A Deep Dive into Nanite Virtualized Geometry
SIGGRAPH Advances in Real-Time Rendering
1:37:22Siggraph2019 Geometric Algebra
Bivector
6 comments from Hacker News
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 - [VIDEO]
Speaking of ant and slime simulation, this recent video Coding Adventures video was pretty mind blowing: [VIDEO] (Especially part 2 starting around 10m in).
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: [VIDEO] and can recommend it to those that want to see a bit of what is possible with compute shaders.
I love ants and replicating their behavior in code! You might like these projects: "Coding Adventure: Ant and Slime Simulations" by Sebastian Lague: Video: [VIDEO] Code [LINK] "C++ Ants Simulation 1, First approach" by Pezzza's Work: Video: [LINK] Code: [LINK]
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: [VIDEO]
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. [ [VIDEO] ]