Live data from Hacker News

Show HN: WebGPU + TypeScript Slime Mold

github.com

1–10 of 12 posts

Re: Show HN: WebGPU + TypeScript Slime Mold

#8
post #5

Amazed that Safari does not support WebGPU even with the latest release. Opened Chrome and it works. Very cool demo!

Unfortunately not out of the box but the demo runs really well on M4 chips. It can be enabled as such (I'm on Sequoia): 1. Safari > Settings > Advanced > Show features for web developers 2. Develop > Feature Flags > Search for WebGPU

Safari Tech Preview may have it enabled by default.

Re: Show HN: WebGPU + TypeScript Slime Mold

#9
Very cool! I did a similar project last year. Really like how your result looks with the lighting setting on.

The most interesting results I got were from having multiple "variants" and giving each variant parameters for their attraction to agents of their own/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.

If you're looking for an addition to this project, I'd recommend giving it a try!

Re: Show HN: WebGPU + TypeScript Slime Mold

#10
post #7
post #5

Amazed that Safari does not support WebGPU even with the latest release. Opened Chrome and it works. Very cool demo!

Apple quality at its peak. Just like iphones get the latest/newest features after top of the line Androids.

Just like Firefox and Chrome on GNU/Linux, yet another example of "Works best on Chrome" TM.
Post reply on HN