Here, the offset shorthand property is animated with a gradual change in offset-path, offset-distance and offset-rotate.
The dashed line is the initial path, and the solid line is the path the fish transitions to at the end of the animation.