I edited my first attempt at a raycaster. The resolution is not working properly. The higher the resolution, the more squashed together everything is. If you have any ideas as to why that is happening, or have a fix for it, please leave it in the comments. Credit will be given.