Phaser API Documentation

  Version: 

Member of: Phaser.Math

<static> SinCosTableGenerator(length, [sinAmp], [cosAmp], [frequency])

Description:

Generate a series of sine and cosine values.

Parameters:

name type arguments Default description
length number

The number of values to generate.

sinAmp number <optional> 1

The sine value amplitude.

cosAmp number <optional> 1

The cosine value amplitude.

frequency number <optional> 1

The frequency of the values.

Returns:
Description:

The generated values.

Examples:
Since: 3.0.0