Phaser API Documentation

  Version: 
<static> CatmullRom(v, k)

Description:

A Catmull-Rom interpolation method.

Parameters:

name type description
v Array.<number>

The input array of values to interpolate between.

k number

The percentage of interpolation, between 0 and 1.

Returns:
Description:

The interpolated value.

Type:
  • number
Examples: