Here's a fairly detailed blog entry about some similar explorations : http://barradeau.com/blog/?p=194
Show HN: 2D field of view demo
51–60 of 80 posts
Re: Show HN: 2D field of view demo
#52Re: Show HN: 2D field of view demo
#53This looks great. Loved reading the writeup!
Re: Show HN: 2D field of view demo
#54In case someone is interested in the design: https://bbcdn.githack.com/rmsundaram/tryouts/raw/e06259fffad... Devising the algorithm took around a month; did it in my free time. The implementation took a week, in HTML5 Canvas/JavaScript. Doing a 360°, not-bound-by-distance FoV would have been simpler, but FoV limited by both angle and distance took time. The idea is to find the field of view of an observer on a map wi…
Got a bug here: http://pasteboard.co/1vhAc3yM.png
Re: Show HN: 2D field of view demo
#55Re: Show HN: 2D field of view demo
#56https://blogs.msdn.microsoft.com/ericlippert/tag/shadowcasti...
Re: Show HN: 2D field of view demo
#57Re: Show HN: 2D field of view demo
#58Re: Show HN: 2D field of view demo
#59In case someone is interested in the design: https://bbcdn.githack.com/rmsundaram/tryouts/raw/e06259fffad... Devising the algorithm took around a month; did it in my free time. The implementation took a week, in HTML5 Canvas/JavaScript. Doing a 360°, not-bound-by-distance FoV would have been simpler, but FoV limited by both angle and distance took time. The idea is to find the field of view of an observer on a map wi…
Well done! It's almost the same algorithm I came up with in one sleepless night, 7 years ago. I used it in a game that was not finished: http://feiss.be/games/luxi (shameless Show HN)
Re: Show HN: 2D field of view demo
#60Similar technique used for a nice website background: https://web.archive.org/web/20140429043206/http://www.goodga...