Post #1268833
2026-02-07 22:51 UTC
If you want to browse the source, read the README and then look at the two shaders in the shaders/ directory. Those are the ones that implement the bubble universe algorithm; the other 1,000+ lines is just scaffolding to get data in and out of the GPU.
EDIT: Do I need to mention that this code is rough as three day stubble? It will get cleaner, then messier, then cleaner...
🧵 8/N
#BubbleUniverse #Javascript #WebGPU #wgpu
Replies (0)
No replies.