I dont think there is any "effect" here. Its just a picture. Allow me to demonstrate from my throne at work. You just set the focus to the location of the lense and that will do it.
Technically it's not the resolution that changes, but the optics (unless you want to bring out the fancy math and treat it as a sampling resolution thing based on smallest recognizable detail)