Thanks to Bert for finding this wonderful illustration of perspective change.
The article also explains how the perspective changes with the distance, not the lens. The lens focal length changes merely allows you to fill the frame with the main subject at different distances.
|photo by PetaPixel/Michael Zhang|
Here is another good illustration.
|Photo by Stephen Eastwood|