Fix Object vary Focal Length

Assuming we can make a lens that can vary the focal length, this animation shows what happens when the object is fixed and how the image distance varies:
(see here for such a lens, caution needs to be exercised with this: you cannot have "steep radius", meaning you have Very long focal length to 40 mm EFL and then -40mm EFL to very long negative focal length)