Math#catmullRomInterpolation()

catmullRomInterpolation(v, k) → {number}

A Catmull Rom Interpolation Method, mostly used by Phaser.Tween.

Parameters
Name Type Description
v Array

The input array of values to interpolate between.

k number

The percentage of interpolation, between 0 and 1.

Returns
number -

The interpolated value

Source code: math/Math.js (Line 791)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.