Neither portals nor gravity changes have anything to do with non-Euclidean geometry. Escheresque is what you mean :)