3 ms·
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 thei
by astroalex 4y 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!
- andai 4y agoMight take a little bit of refactoring ;) but https://oimo.io/works/bubbles/main.js https://oimo.io/works/bubbles/main.js
- astroalex 4y agoThe author just explained the algorithm on Twitter: https://twitter.com/shr_id/status/1589238902325669893 https://twitter.com/shr_id/status/1589238902325669893