How can I create a function that will replicate the affects of different aperture settings. I want the user to be able to click on different 'focal points' of their picture and see how the aperture/depth of field would change depending on which focal point is in focus.
Also I was curious if anyone knows how to create a slider bar that would create the blurring affect of a low aperture.