Skip to content

A first person POV with a variable FOV generated from simple 2D raycasting.

License

Notifications You must be signed in to change notification settings

achaval-tomas/3D-Visualization-from-2D-raycasting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D-Visualization-from-2D-raycasting

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:

3DRaysPreview.mp4

About

A first person POV with a variable FOV generated from simple 2D raycasting.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages