Looks good. I was about to say that I'd like moving pictures, before I realized there was a demo.
Regarding the author's note: It's basically correct for the relevant distances, and as good as it gets without breaking out trigonometry.