Hacker News new | past | comments | ask | show | jobs | submit login

Three.js is just a rendering engine -- it wouldn't allow you to create something like this anyway.

Also, I don't believe that the bubble toy is related to their physics engine; it seems like a different type of physics. The engine is focused on 3D collisions, joints, springs, etc., whereas the bubble toy is simulating thin films.

I wish there was source code for the bubble toy so we could see how it works!




The author just explained the algorithm on Twitter: https://twitter.com/shr_id/status/1589238902325669893


Might take a little bit of refactoring ;) but https://oimo.io/works/bubbles/main.js




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: