Arrow keys to move. Use: https://turbowarp.org/588910779 for smooth fps. Seriously, it's like ten times faster. (Don't forget to like (heart for you Gen A kids)
FINALLY, A GOOD PROJECT. It's been a while. The code is really simple but could be used for so many things. (Like an Ambient Occlusion raycaster v4. Hint hint.) Don't think this actually raycasts, since it calculates distance from pixel location (raycasters calculate pixel position from distance)