I developed a fast algorithm for raytracing bokeh
lentil.xyz
lentil.xyz
It is also able to do full lens simulation using a state-of-the art (polynomial optics) approach. Ever wanted to render through an 1900’s Petzval lens? Or the legendary Cooke Speed Panchro? Here ye go.