4 ms·
In https://codepen.io/winkerVSbecks/pen/NazWxg https://codepen.io/winkerVSbecks/pen/NazWxg, there's a "hitch" as the discs touch due to a first-derivative disco
by panic 9y ago
In https://codepen.io/winkerVSbecks/pen/NazWxg https://codepen.io/winkerVSbecks/pen/NazWxg, there's a "hitch" as the discs touch due to a first-derivative discontinuity. Here's a version which extrapolates the u1 and u2 variables, making the transition much smoother: https://codepen.io/panic_/pen/BwvjmK https://codepen.io/panic_/pen/BwvjmK.
- ehsankia 9y agoMuch better. There's definitely many improvements that could be done, but that was the main one. The other big one is how the bigger disc doesn't change size. The approximation OP does is a good start but still far from being real metaballs.
- zaroth 9y agoThis is just calling out for a propagation wave effect through the parent ball at the moment of separation.