Lava Lamp

Blitz3D Forums/Blitz3D Beginners Area/Lava Lamp

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

To see how it works, disable the command DrawBlobs(). There is also a DrawBlobs2() that you can try out.

What I do is move a bunch of soft-edged gradients around on the screen,... then I do a simple check with a threshold to make the image use just a few colors.

Unfortunately, pixel operations are really slow, so I need to keep this effect relatively small, and I used 3d so that I could use the additive blending mode for the initial blobs before the threshold.