this is a simple casting engine, this example of it makes shadows from the mouse cursor update: more accurate with same performance, circle where your cursor is.
@PrettyCoolStuff for riginal project