There are 2 repositories under lens-design topic.
AutoLens: automated lens design from scratch.
Light field geometry estimator for plenoptic cameras
GNU Optical modified to work on Windows, Mac OSX and Linux
A simple optical ray tracing simulation based on Snell's law and Fresnel equations for MATLAB and OCTAVE
Lens design, optimization, and analysis in Python 3
Snap-Chat-Eye-Lens
Tools for reverse engineering multifocal intraocular lenses
Geometrical ray tracer with adaptive optics to optimise optical performances.