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.
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
XFrequency = 0 ; YFrequency = 10
XFrequency = 10 ; YFrequency = 0
XFrequency = 10 ; YFrequency = 10