Example Code

Random bits of code that I’ve mashed together for various purposes.


Shows the simplest way to load a .png file and load it as an OpenGL texture.


A simple and fast 2D wave idea that I came up with. Could easily be extended to generate a 3D mesh. I’m sure I’m not the first one to try this.