canvas-animation: Add path drawing mode.