I wanted to share this amazing interactive website that explains the shadowcasting technique for calculating field of vision in roguelikes or other games with 2D playfields. There's this great bit that visualizes each step of the algorithm with the current line of code highlighted and the current state of the playfield.
I was not understanding the material I was reading elsewhere and this made me grok it in record time.
