http://www.puzzlescript.net/play.html?p=76d8b5e29309146a37e336fe2364e9e4
Did you see this other previous Portal demake:
http://www.puzzlescript.net/play.html?p=7395520
?
No I hadn't seen it before. I really like the physics in that one, and portals on walls seem to work better than portals on the floor. Maybe I can combine features of both.
Sorry, the previous link wasn't the latest version. Here it is: