A first person POV with a variable FOV generated from simple 2D raycasting.
Generating a 3D perspective view using information from a 2D raycasting "top-view" world using Python's pygame library.
Move around with wasd
and use p
or o
to increase or reduce the FOV.
Run with python3 raycasting.py
Get pygame sudo apt-get install python3-pygame
Low-Quality preview: