# Formula for blurring out a grid of holes

Place a camera lens with focal length f_l mm and camera sensor size w mm and h mm behind an rectangular array of small holes with diameter d0 mm being d1 mm apart at a distance d mm between the holes and the outer curvature of the lens.

How do you have to change d for the small holes to blur for them to disappear on the photo?

I am asking for a formula. Basically a d = f(f_l,d,d0,d1) respectively d = f(f_l,d,d0,d1,w,h).