Hacker News new | ask | show | jobs
by ivolimmen 992 days ago
I once wrote a lava lamp thingy back in school when we were toying with 16bit C++ and 32bit assembly to get some nice demos on an mcga screen. It looks a bit like this but it was not a simulation we used three different buffers with pictures containing balls that we xor-ed over each other while the layers were moving in different directions using sin/cos functions.