We

WebGPU + TypeScript Slime Mold Simulation

Hacker News

WebGPU + TypeScript Slime Mold Simulation

I made this slime mold simulation to learn more about WebGPU and compute shaders. It's essentially a recreation of Sebastian Lague's coding adventure on the web with TypeScript. I've linked a few video demos on the GitHub readme, and there is a playable demo on my website. Using WebGPU has been great so far. The iteration loop (with Vite.js) is much faster than when working with Unity. This helps with quick prototyping, though Unity's editor scripts allow you to build more interesting user input tools. I was also surprised by how good the WebGPU error logs were. They helped me debug most of my shader bugs pretty quickly.

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: user, using, coding · Missing: mac, agents, macos
92%92% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
63%63% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
50%50% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
48%48% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: video · Missing: mobile apps, ios, personal
37%37% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
3%3% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Ce
Cerialize – Typescript serialization by annotation39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cerialize – Typescript serialization by annotation

Hacker News1
Sc
Scala-ts – Scala to TypeScript compiler41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Scala-ts – Scala to TypeScript compiler

Hacker News66
Ha
Hapi with Typescript51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Hapi with Typescript

Hacker News2
JS
JSONSchema to TypeScript compiler51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

JSONSchema to TypeScript compiler

Hacker News72
Tr
Transpile Scala to TypeScript29%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Transpile Scala to TypeScript

Hacker News1
Ge
Get started modding Factorio in TypeScript44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Get started modding Factorio in TypeScript

Hacker News69
We
WebSockets Explained with TypeScript64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

WebSockets Explained with TypeScript

Hacker News3
A
A BubbleShooter Implementation in TypeScript38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A BubbleShooter Implementation in TypeScript

Hacker News2
Bi
Binary Serialization with TypeScript40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Binary Serialization with TypeScript

Hacker News2
Du
DuoCode 1.0 bridges the gap between C# and TypeScript31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

DuoCode 1.0 bridges the gap between C# and TypeScript

Hacker News7