open_in_new
content_copy
import math def slerp_theta(z1, z2, theta): return math.cos(theta) * z1 + math.sin(theta) * z2