I also added in some curves so I could control how the angle and distance would be evaluated. In other words, since the visuals and backend didn't match up the curves would allow me to finetune just how close to the lit areas count as valid