Skip to main content

Type Alias: HomotopyFunction()

HomotopyFunction = (x, y, z, t) => [number, number, number]

Defined in: src/animation/movement/Homotopy.ts:54

Type for a 3D homotopy function

Parameters​

x​

number

X coordinate of the point

y​

number

Y coordinate of the point

z​

number

Z coordinate of the point

t​

number

Time parameter from 0 to 1

Returns​

[number, number, number]

Transformed point as [x', y', z']