And you can model it with OpticalRayTracer.jar , a GPL download and very simple to use.