Updated the code with some variations and improvements. I have also included a new version which does bi-directional distortion using two buffers. It's still not perfect, but I'm trying to make a good base to start a project from. The original gameloop is by EternalWindows. I have noticed that the bi-directional version causes CPU usage to increase. Also, it could just be my eyes, but does the animation look smooth enough? It would be great if someone could look at it and let me know what I can do to make it better / cleaner. I hope to create a DIB version once I get this one polished.


