News for hackers. Stuff that matters.
Re:Lavalamp.app by liminal on Tuesday November 17, 2020 @06:22PM (#25131243)
This seems more like metaballs than a lava lamp simulation. The balls interact before they touch.
Re:Lavalamp.app by GuB-42 on Tuesday November 17, 2020 @07:27PM (#25131702)
Actually, these are blurred circles. Apparent when you set the "fuzziness" slider to zero.

Metaballs are different. They are essentially a visualization of electric or gravitational fields. For the traditional formula in 2D, each pixel is colored based on the weighed sum of the inverses of the distances to the center of each "ball".

Re:Lavalamp.app by narco_snow on Thursday November 19, 2020 @11:12PM (#25157240)
Yep, metaballs. I'm planning on upgrading to the "double density relaxation" algorithm to make it more lava-y. I've never done that before, and the algorithm is pretty complex...

Here's a good example if you're interested. https://peeke.nl/simulating-blobs-of-fluid