using griffpatch's raycast tutorial. wasd and arrow keys. lower the variable "debugd" if you are having bad graphics.
turbowarp: https://turbowarp.org/859250676#?token=1685523916_738b292ecb013b46ed13061698b6702fabb07ac00a25991f272a10d6143fb2f651958318f8a0a361d321aef513728ab9d2d13b6af3b152732e544187e3a28893