Coding Adventure: Ant and Slime Simulations
6 人推荐 · 跨 5 个月 · 2021–2024

中文导读
Sebastian Lague 借助 Compute Shader 编写的群体算法实验,在 GPU 上生动模拟了蚂蚁觅食行为与黏菌网络的涌现机制,并附带了完整的开源代码。
为什么 HN 推它
极简规则碰撞出惊人复杂度的绝佳范例。HN 上许多图形学与算法爱好者就是看了这期视频,才重新被点燃了写代码的热情。
「它重新提醒了我:写代码竟然可以如此纯粹、如此迷人。」HN 网友原话:reminded how beautiful coding can be
英文原摘要(HackerTube / Claude 整理)
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.
HN 上的提及
replicates slime molds in Unity
this recent video Coding Adventures video was pretty mind blowing
can recommend it to those that want to see a bit of what is possible with compute shaders
You might like these projects
Sebastian Lague made an excellent video