Just some testing. Fixed it and now there's less lag. Basic raycaster stuff. I tried layering pen on top of sprites and had to paint the sprite as pen to layer them and that did not work out well and i just remembered the stamp function bruh