|
|
> And for the smoother effect, the first derivative of each movement (panning and
zooming) should be contiguous. That's
the hard part.
That's "The slopes should be equal at that point" ;)
> (actually, the second derivative might also have to be continuous)
Yikes. I'd really have to see that graphically to see where you're going with
that.
> *OR* you can just dive into spline for the location and angle.
Yes. Or if it's a simple, short sequence, use a formula to zoom in, then slow
the zoom as the panning starts, and then smoothly transition to all (mostly)
panning. "Plot a nice smooth curve, like a hyperbola."
OR - if you have trouble with that, piece together a curve like you'd piece
together shapes with CSG, but using #if or #switch. Zoom in with a straight
line, then transition to a circular or elliptical arc, then transition to
another straight line.
Welcome to the forums :)
Post a reply to this message
|
|