Skip to contents

Sine function

Usage

sineFunction(x, amplitude, period, xOffset, yOffset)

Arguments

x

Value of the effector

amplitude

Numeric, amplitude of the sine function

period

Numeric, amplitude of the sine function

xOffset

Offset of the function on the x-axis

yOffset

Offset of the function on the y-axis

Value

Value of the sine function for x.