Bezier animation class