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)

👋 Kindness is contagious

Dive into this insightful article, celebrated by the caring DEV Community. Programmers from all walks of life are invited to share and expand our collective wisdom.

A simple thank-you can make someone’s day—drop your kudos in the comments!

On DEV, spreading knowledge paves the way and strengthens our community ties. If this piece helped you, a brief note of appreciation to the author truly counts.

Let’s Go!