Heavily inspired by tantan's version: https://github.com/TanTanDev/3d_celluar_automata
Press the esc key to toggle whether the cursor is captured or not. You can move the camera around with w a s d, and up and down with space and left shit respectively.