Beginnings of a DOOM style 3D engine

https://snap.berkeley.edu/project?user=odysseus_ssb&project=raycasting

This is largely based on Griffpatch's 3D raycasting tutorial, as I used it for a reference. I would like help optimising the engine to run as efficiently as possible.

Hm...It seems as though it doesn't work. Is there an error in your code or something?

Something's not working. I'll see what I can do.

It's working fine for me in the edit page. It must be something going strange in the pen extension.

But still in the edit page my screen continuously draws lines to fill the screen.

It's meant to because you start right by a wall. Turn around with Q and E