This article has shown how to use the geometrical rays to optimize the beam homogenizer. Geometrical rays allow fast optimization and result shows good irradiance uniformity at the image plane.