Nice! I recommend this guide if do try (there's also pico8 specific ones as well, this one does a great job of going over the principals and easy enough to convert over):
https://lodev.org/cgtutor/raycasting.html