TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: WebGPU + TypeScript Slime Mold

71 pointsby SuboptimalEng5 months ago

5 comments

modeless5 months ago
I will never understand why people don&#x27;t lead with the link to the live demo: <a href="https:&#x2F;&#x2F;suboptimaleng.github.io&#x2F;slime-sim-webgpu&#x2F;" rel="nofollow">https:&#x2F;&#x2F;suboptimaleng.github.io&#x2F;slime-sim-webgpu&#x2F;</a><p>It&#x27;s very cool!
评论 #42600653 未加载
评论 #42599304 未加载
ripleyp5 months ago
Very cool! I did a similar project last year. Really like how your result looks with the lighting setting on.<p>The most interesting results I got were from having multiple &quot;variants&quot; and giving each variant parameters for their attraction to agents of their own&#x2F;other type. Implementation-wise it was a variant tag for each agent and a matrix of attraction coefficients as a uniform. Playing with the params resulted in interesting behaviors, like one variant chasing another around while they both try to avoid a third.<p>If you&#x27;re looking for an addition to this project, I&#x27;d recommend giving it a try!
miketahani5 months ago
Super cool! I was experimenting with WebGPU and various simulations a couple months ago [1] and would love to learn more about your process! Do you have a blog or something similar?<p>[1] <a href="https:&#x2F;&#x2F;observablehq.com&#x2F;collection&#x2F;@miketahani&#x2F;slime" rel="nofollow">https:&#x2F;&#x2F;observablehq.com&#x2F;collection&#x2F;@miketahani&#x2F;slime</a>
namjh5 months ago
Amazed that Safari does not support WebGPU even with the latest release. Opened Chrome and it works. Very cool demo!
评论 #42599578 未加载
评论 #42599443 未加载
评论 #42600789 未加载
floating-io5 months ago
I had to read that title several times to make sure that it wasn&#x27;t the alcohol causing it to register as &quot;Slime Mold.&quot;<p>Why someone would want to simulate a slime mold is something I don&#x27;t understand, but more power to ya. =)