In short, I decided to make an endless procedurally generated lava lamp on Babylon.js (You can navigate through it using the arrows on the keyboard) here’s what I got:
I also call it the bum version, because the animation of the balls moving is completely removed in it.
In the first version, I made balls, and screwed a random trajectory to them, but it turned out that these trajectories twitch.
In the second version, it turned out that the balls change in diameter when moving.
This is the third version of the lava lamp! It turned out to be a smooth movement of the balls I’m IN an ENDLESS LAVA LAMP UwU.
In the fourth version, I made a procedurally generated movement of the balls. Now the movement of the balls is unpredictable, and not how it was when a random trajectory of movement was generated for each ball.
Well, finally, in the fifth version, I made the balls collide with each other, and combine into one new ball. Run it at your own risk, because the page may not respond.
In the sixth version, I teleported the balls in quick time to a random location throughout the chunk.