This generator generates multidimensional waves based on cos to the
distance to the center. This means that you can create ripple waves or
parallel waves depending on how many dimensions you provide. The output is
scaled between -1 and 1 and the frequency determines the number of waves per
unit. The result is much like gen_spheres()
but has smooth transitions at
each extreme.
gen_waves(x, y = NULL, z = NULL, t = NULL, frequency = 1, ...)
The coordinates to get pattern from
The frequency of the generator
ignored
A numeric vector
Other Pattern generators:
gen_checkerboard()
,
gen_spheres()