Quadratic bezier curve example