My first actually fully working perspective 3D engine. To control the camera when "Free Camera" is enabled, use the arrow keys and Q, W, E, A, S, D. All of this was written by hand, no tutorials were used (only some Wikipedia). If you want to load your own model, change the list named posS to contain all of the triangles of your model, in the order: x1, y1, z1, x2, y2, z2, x3, y3, z3 Note that there are no triangle strips or fans, and every triangle must be specified with all 9 coordinates. Also: I'll be creating a simple lightcycle game with this later. maybe. Also: Feel free to remix and create games with this. Try it on Phosphorus! http://phosphorus.github.io/app.html?id=24620331&turbo=true&full-screen=true