I did this a few weeks ago actually but didn’t have time to write a post about it.
Well I was planing to write a longer post about it but considering it’s not that fast ( not as fast as it should be ) and buggy ( got some corner cases ), I decided to skip the post thingy and just put it here as is ( mainly because I have no intention to fix&improve it further )
Oh and again, it is inspired by Amit and his Shadow Casting post.
And here it is;
( You might need to refresh the page right away )