The current Computeractive magazine has a workshop on this subject.
I think you get the same effect on manually operated old cameras with differential focussing .