Skip to content

Simple 3D raycaster made with python using pygame as a graphics library

Notifications You must be signed in to change notification settings

ANANTH-SWAMY/raycaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Simple Raycaster

Simple raycaster made with python using pygame as a graphics library

raycast raycast

How to run

Make sure you have pygame install and then run it with python ./raycast.py in the shell.

How it works?

It works by casting a ray in every direction in the POV and checking if it collides with a wall, and if it does it draws a vertical line there.