alghorytm generating an infinite maze. arrows to move the view you can change the fov value to zoom in/out click space to hide the red/green squares For the maze generation I used binary tree maze generation alghorytm and for procedural pseudorandom numbers used a bit modified version of linear congruential generator. binary tree isn't the best alghorytm for this, but its simplicity made it easier to make itinfinite and procedural - you will always get the same maze, unless you change the seed. just for fun I tried to push this alghorytm as far as possible and it started breaking at around y -601000000184 even more at -100000000000000000 and from -200000000000000000 you will notice it breaking completly