Light and Shadow Rendering Algorithm, O(n2)
The applet is signed to allow use of copy/paste and loading images from other addresses. Speaking of which, here are some heightmap suggestions: