Show HN: Simulating 20M Particles in JavaScript (opens in a new tab)dgerrells.com
561 pointsHad some fun with shared array buffers over many months of free time.
Skip to the end to play around with the final app.
Open to ideas on how to simulate more whilst staying in js land.

Comments (70) 25 threads
Show all comments
Showing thread 20 of 25
In the future I will keep everything self hosted to avoid this issue. I appreciate the patience.
https://github.com/google/playground-elements
not sure if, based on the way it works, whether it supports SharedArrayBuffer
The sandbox has a button that's basically "Open a preview in a separate tab". If you click that, the header will be sent, and the demo will work.
If you only use the "in-editor" preview, the proper header will not be sent.
Agree not intuitive. Hope it helps, it was a super cool demo.