Neither portals nor gravity changes have anything to do with non-Euclidean geometry. Escheresque is what you mean :)
Exactly. At the time I posted that, I had some funky ideas about math and didn't know nearly as much.