I got a chance to play with @griffpatch excellent mode7 (horizontal dda) method. Added a minimum floor with ~300 drawCount so hopefully enough cpu cycles remain for the rest of a game engine. Remix added: extra inputs pitch & strafe and some perf optimizations Usage: arrows keys to look wasd to move Mobile input: hover to move & tap to jump
This is not trying to be pixel perfect, but basic enough so a game engine can do other interesting things. -performance optimizations -horizon clip -only paint the black quads -reduce level of detail based on distance camera