published: 2009.06.22 topics: css javascript After my last post about the CSS text-shadow property it occurred to me that it could be used to create some fun pseudo-realtime lighting effects. In the example below I am using a PNG to create a spotlight, and I am using JavaScript to update the text-shadow style on the text in order to simulate realtime shadows from a single light source. Move your m