WASD to move, arrow keys to look around. This is just a simple 3D engine that I made. You can use it if you want to, just give credit. Supports triangles, lines, squares, cubes, color, and z-clipping.
@MathMathMath for the 3D tutorial.