1. Home
  2. Docs
  3. Noises
  4. Generators
  5. Sine

Sine

Sine generator produces an output based on sine trigonometric function.

Depending on X and Y frequencies, this generator can produce vertical, horizontal and diagonal lines. A sine with an y frequency of 0 is equivalent to the cylinders generator.

The sine function always output between -1 and 1.

 

Node inputs/outputs

The module’s constructor needs:

  • XFrequency : number of repetitions in the X axis
  • YFrequency :  number of repetitions in the Y axis

The output value is a Generation Module

 

Examples

XFrequency = 0 ; YFrequency = 10

XFrequency = 10 ; YFrequency = 0

XFrequency = 10 ; YFrequency = 10

 

Was this article helpful to you? Yes No

How can we help?