DEV Community

Deekshith D
Deekshith D

Posted on

How to Implement Wall-Bounded Camera FoV in React?

I'm currently working on a React project where the task is to display the security camera's field of view (FoV) on a floor map. The challenge is that there are walls on the floor map, and the FoV should not cross the boundaries of the walls.

In my current implementation, the boundaries are not respected. CodeSandBox Link

My goal is to reach this
implementation .
Can you let me know the library/framework which is used ?

Top comments (0)