Here is an example of a field of view engine using the image manipulator. I just used over sized pixels for the example but it is easy enough to use sprites instead. The advantage of using the image manipulator as opposed to a canvas is a very small amount of memory is used (a 20x30 pixel image for a 640x960 pixel layout with 32 pixel tiles).
Enjoy
Develop games in your browser. Powerful, performant & highly capable.
That's quite cool. I tried it as far out as a 5-tile radius (range 160), and it performed nicely, with relatively few artifacts.
I like the use of the image manipulator, too.