I've finally got madius.dk up and running again, or at least to a stage that, after a refresh it will work (if you haven't already, then go poke around to see the most broken code ever released on the web, and see if you can figure out what is going on), but now that I have recovered most of the orignal source-code I want to take it to the next level, and make it feel more like a real game.
I am going to draw a lot of the inspiration from Valves cult game "Portal", and run it in a 2.5D world. To do this I had to create a 3D plane, in which I could easily manipulate (move and rotate) objects around.
For the initial part, I used jsfiddle, so I might as well share what I came up with. The final code is going to be a lot more sophisticated, but for now this is just a simple prof of concept