Lurker News
Had 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

Earlier comments
dado32121 reply#
The videos look awesome but the "try it out here" codesandbox links don't work for me on MacOS Chrome desktop. I get 'Uncaught ReferenceError: SharedArrayBuffer is not defined' and some CORS errors: 'ERR_BLOCKED_BY_RESPONSE.NotSameOriginAfterDefaultedToSameOriginByCoep'.
rustystump1 reply#
You have to open the previews in a dedicated tab as codesandbox's inline editor blocks the header from being set. It also may get blocked if you are using a privacy focused browser.

I'll try to include embedded examples in the future.
You can try out the final version here https://dgerrells.com/sabby

shash7#
Whoa this is like fine sand. Amazing!
rustystump#
Awesome! I am impressed you dug that deep into the code.
everyos_#
When I first opened this, I was stunned! It is really pretty, and I can't believe there are so many simulated particles in JS!
cowboylowrez#
thanks for that, i was missing out with the desktop!

Load more comments