My implementation of interactable portals using THREE.js
A basic scene containing two portals.
A scene with two portals facing each other. Demonstartes portal recursion.
Two tunnels that demonstrate rendering non-euclidean geometry using portals.
Two differently sized tunnels. The left tunnel shrinks while the right tunnel grows.
A multi-room house where something's a bit off...
Two portals with different rotations. Try walking through the red portal sideways!
A bunch of portals facing each other. Demonstrates portal performance. For the sake of your computer, I don't recommend going past 3 levels of portal recursion...