Wave type or wave function that return [-1, 1]
Width or [width, height] (in pixels)
Spatial frequency (cycles per pixel)
Optional
ori?: numberOrientation (in radians)
Optional
phase?: numberPhase (in radians)
Optional
color?: RGB255 | [RGB255, RGB255]Color or [color, color] (RGB255 values)
Optional
mask?: MaskFunctionMask function that inputs [-1, 1] and returns [0, 1]
Grating stimulus component for generating sinusoidal, square, triangle, or sawtooth gratings