#Portal Room The maths is fairly complicated, view the turtorial here. This repository contains the complete code.