Comment by astroalex
3 years ago
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