A laser simulator made with SDL in the Odin programming language
lasers.mp4
Run with odin run src
EscapeorSpaceto toggle between editing walls and aiming the pointerCtrl Qto closeCtrl -/Ctrl +to adjust pixel scale (zoom in/out)
Hold left click to aim the pointer
Move the pointer and walls by grabbing them with the mouse. The walls are moved by grabbing either end
Ato spawn a new wallXto delete the currently held wall