---
title: "simd_bezier(_:_:_:_:_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/simd_bezier(_:_:_:_:_:)-2cl6p"
---

# simd_bezier(_:_:_:_:_:)

## Declaration

```swift
func simd_bezier(_ q0: simd_quath, _ q1: simd_quath, _ q2: simd_quath, _ q3: simd_quath, _ t: Float16) -> simd_quath
```

## Discussion

Discussion Spherical cubic Bezier interpolation between quaternions. The function treats q0 … q3 as control points and uses slerp in place of lerp in the De Castlejeau algorithm. The endpoints of interpolation are thus q0 and q3, and the curve will not generally pass through q1 or q2. Note that the convex hull property of “standard” Bezier curve does not hold on the sphere.
