Depth Of Field Simulator (github)
[zero1infinity]

Related: Hyperfocal distance

Nicely done!