Ball Pit
memalign
157 points
41 comments
March 25, 2026
Related Discussions
Found 5 related stories in 73.5ms across 8,303 title embeddings via pgvector HNSW
- 100 Jumps pompomsheep · 66 pts · March 13, 2026 · 44% similar
- Show HN: Gapless.js – gapless web audio playback switz · 31 pts · March 02, 2026 · 41% similar
- Launch HN: Freestyle – Sandboxes for Coding Agents benswerd · 244 pts · April 06, 2026 · 41% similar
- Cursor Camp from Neal.fun vidzert · 14 pts · April 27, 2026 · 40% similar
- Cursor Camp bpierre · 810 pts · April 29, 2026 · 40% similar
Discussion Highlights (17 comments)
newobj
path tracer?
simlevesque
Beware: this might totally freeze your computer like it did for me.
p1necone
This runs pretty smoothly on my middling laptop CPU while looking like a typical raytracing demo. I assume there's some smoke and mirrors involved?
jessepasley
Is this marketing for the Shape Store? It's cool but I still don't know when my area is getting a Shape Store.
Rendello
Beautiful, this must have been an excellent learning experience to make. I've done some very basic rendering code in C from a rendering internals course, and at the same time I'm learning about perspective from the drawing/art side. I wonder how much learning one would help the other, in a practical way.
verytrivial
For some context, I think this is by mr.doob of three.js fame.
hermitcrab
I'm a C++ programmer and only passingly familiar with web/JS stuff. What libraries/technologies is this using, apart from Javascript and three.js?
CodeWriter23
I was able to get all the balls stuck on the 'ceiling'. Bug or feature?
RankingMember
> The babies look unhappy > Add more balls Fun simulation. The novelty of stuff like this still hasn't worn off for me in this era where we've got ray tracing in-browser.
TacticalCoder
I have fond memories of visiting a university in the early 90s on a demo day and there was a (physical) sphere in a Cornell box: https://en.wikipedia.org/wiki/Cornell_box And next to it was a super beefy computer doing a 3D rendering of a similar scene. 35 years+ later I've got "many spheres in a Cornell box" rendering in my browser, love it : )
rbosinger
I opened that on a Pixel 9a and was impressed on how well it worked. There's something neat about this.
artursapek
that's amazing. it runs so smoothly on my M4 Pro
petermcneeley
Nice! I raise https://www.shadertoy.com/view/3tcGD2
chrysoprace
What a time to be alive. It runs surprisingly smooth on Firefox/Linux and doesn't appear to put much strain on my 9070 XT.
appstorelottery
Runs great on MacBook Air M1! Super!
slopinthebag
It's cool but shockingly slow for an SSGI implementation, especially without any denoising.
fuzzfactor
This does work good with Linux and Firefox on older PCs too.