Hexagonal Grid Field of View (FOV) & Shadowcasting Calculator
Creative & DesignNewUnderstanding Your Results
Renders an interactive HTML5 hex grid canvas allowing users to click and toggle wall obstacles, computes line-of-sight raycasts to all tiles within radius R, and exports visible axial (q, r) tile coordinates in JSON format.
Practical Guidance & Next Steps
Hexagonal line drawing uses fractional cube coordinate linear interpolation (Lerp) rounded to the nearest integer cube vector (satisfying x + y + z = 0). If any intermediate tile along the ray is opaque, the target tile is obscured.
What is this?
A game development math utility that calculates line-of-sight and field of view on hexagonal grids with interactive obstacle testing.
How does it work?
Why use it?
Provides game designers with instant visual verification of hexagonal line-of-sight algorithms for fog of war and tactical range.
Point-to-point discrete hex raycast shadowcasting model.
Frequently Asked Questions
Want this capability on your Windows desktop?
Rainmeter Desktop Customization Engine
Powerful open-source desktop customization framework for hardware monitors, clocks, and audio visualizers.