Another example of a curve function - this time applied to the scale of an image.
You can switch images depending on the direction of the zoom.