WASDQE, ARROWS. The yellow cube is the light! This script finds where the shadow would be on a plane with height (h) from a given point (x,y,z) and a light position (lx,ly,lz). It works by basically shooting a ray from the light source to a point and then finding the point of intersection on a plane below the objects.