This demo animates the camera moving from the upper right, relatively far away, to right in front of the barn, fairly close, following a Bezier curve (that is curving in 3 dimensions). The camera is always looking along the direction of movement (tangent to the curve).
The keyboard callbacks are my usual ones: