cubicCurveTo and curveTo in AnimatedFloat