nornagon/fov.js — pull request #2 by josephg (2012-06-29 14:51:42+00:00)
Title: Added beam and beam2 lighting functions

... We should have a demo up somewhere so I can show you what it looks like.

The beam2 code is still not perfect - if you look carefully, there are jumps from time to time. Also, I should be using tan to calculate some of the gradiants instead of dodgying it. But it works pretty well, and feels smooth.