Create a custom easing function for animation

cubic_bezier(x1 = 0.5, y1 = 0.5, x2 = 0.5, y2 = 0.5)

Arguments

x1, y1, x2, y2

The x and y values for the first and second bezier control points.