My implementation of interactable portals using THREE.js
Demo Scenes
A Portal
A basic scene containing two portals.
Recursion
A scene with two portals facing each other. Demonstartes portal recursion.
Tunnels
Two tunnels that demonstrate rendering non-euclidean geometry using portals.
Scale
Two differently sized tunnels. The left tunnel shrinks while the right tunnel grows.
House
A multi-room house where something's a bit off...
Rotation
Two portals with different rotations. Try walking through the red portal sideways!
Gallery
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...