patch

Patch with a uniform color.

patch properties

other properties






gradient

Patch with a color gradient. Transitions linearly from color1 to color2 over the gradient size.

gradient properties

other properties






grating

Grating whose color oscillates sinusoidally between color1 and color2.

grating properties

other properties







circularGrating

Circular grating whose color oscillates sinusoidally between color1 and color2.

grating properties

other properties






checkerboard

Checkerboard defined by two colors and the size of the boxes.

checkerboard properties

other properties






radialCheckerboard

Radial checkerboard defined by two colors and the angular size of the boxes. Divided into concentric rings (up to 10 divisions).

radialCheckerboard properties

other properties






dots

Random dots.

dots properties

  • density: The density of dots per pixel. Value from zero to one.
  • coherence: The proportion of type1 dots out of the total number of dots. Value from zero to one. Time-dependent.
  • dotsLife1: The life of each dot. When a dot reaches its life limit, it disappears and another dot is created at a random position. If life is zero, the dots change their position each frame. Time property.
  • diameter1: The diameter of type1 dots. Size property. Time-dependent.
  • direction1: Possibles ways to establish the dot direction for type1 dots.
    • random: The direction of movement of the dots is random.
    • fixed: The dots move in a fixed direction.
    • center: The dots move towards the stimulus center.
    • away from the center: The dots move away from the stimulus center.
    • clockwise: The dots move clockwise.
    • counterclockwise: The dots move counterclockwise.
  • color1: The color of type1 dots. Color property.Time-dependent.
  • dotsLife2: The life of each dot. When a dot reaches its life limit, it disappears and another dot is created at a random position. If life is zero, the dots change their position each frame. Time property.
  • diameter2: The diameter of type2 dots. Size property. Time-dependent.
  • direction2: Possibles ways to establish the dot direction for type2 dots.random: The direction of movement of the dots is random.
    • fixed: The dots move in a fixed direction.
    • center: The dots move towards the stimulus center.
    • away from the center: The dots move away from the stimulus center.
    • clockwise: The dots move clockwise.
    • counterclockwise: The dots move counterclockwise.
  • color2: The color of type2 dots. Color property.Time-dependent.

other properties






image

Image.

image properties

other properties






text

Text.

text properties

other properties






video

Play video from a source.

video properties

other properties






audio

Play audio from a source.

audio properties

other properties






pureTone

Play auto-generated white noise audio or pure tone audio.

pureTone properties

  • soundType: Select between pure tone sound (tone with a simple sinusoidal waveform) or white noise sound (random signal having equal intensity at different frequencies).
  • frequency: The frequency of the sinewave (Only in the case of pure tone sound). Frequency property.
  • amplitude: The amplitude of the sine wave. The perceived loudness of sound is approximately proportional to the logarithm of the amplitude. Value from zero to one.
  • leftRightBalance: From 0 (totally to the left) to 1 (totally to the right). Value from zero to one.
    • leftAmplitude = leftRightBalance * amplitude
    • rightAmplitude = (1 – leftRightBalance) * amplitude

other properties