legends2k/2d-fov

Field of View and Line of Sight in 2D

39
/ 100
Emerging

This tool helps game developers or simulation designers efficiently calculate what a character or agent can see within a defined area, considering obstacles like buildings. You provide the character's location, their viewing direction, a maximum viewing distance, and the layout of obstacles. The output is the precise visible area, crucial for realistic game AI or interactive simulations.

No commits in the last 6 months.

Use this if you need to determine the exact visible region for a character or entity in a 2D environment, with specific limits on their viewing angle and distance, and obstructions like walls.

Not ideal if you need an unbounded 360-degree field of view calculation without specific angle or distance constraints.

game-development 2d-simulation game-ai visibility-calculation level-design
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 9 / 25
Maturity 16 / 25
Community 14 / 25

How are scores calculated?

Stars

72

Forks

10

Language

HTML

License

BSD-3-Clause

Last pushed

Mar 20, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/legends2k/2d-fov"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.