dots

 elements

A static pattern of one or more dots. This uses Psychtoolbox Screen('DrawDots'), which draws dots that are limited in size. For larger circles, see element type circle.

For each trial you define in an experiment script, you can make one or more 

dots

 objects using 

dots

Object and input them to addTrial.

For each trial you define in an experiment script, you can make one or more 

dots

 objects using 

dots

Object and input them to addTrial.

Input properties

Adjustable properties

You can allow the subject to adjust the following input properties of an object of this type during the experiment using an adjuster element. If you need to make other properties adjustable, you can copy the element type using newPbType and edit it.

position
nn_eyes
rotation
opacity

(None)

(None)

positions

Default: one dot at element position

A 2-column matrix setting dot centers, with rows corresponding to dots and columns to [x y] coordinates (deg). Positions are relative to element position, which you can set in position (default screen center).

size

Default: 0.2 deg

A number setting dot diameter (deg). Or a 1×n vector for different diameters for different dots.

color

Default: white

A 1×3 RGB vector with numbers between 0–1 setting dot color. Or an n×3 matrix for different colors for different dots.

type

Default: 2 -> circles, prioritizing speed

A number corresponding to Psychtoolbox Screen('DrawDots') input dot_type, setting dot shape and draw method. Note that Psychtoolbox values are between 0–4 but this property is between 1–5.

Input properties all visual elements have

position

Input properties all adjuster elements have

adjust

Input properties all objects have

report
info

Record properties

PsychBench uses record properties to record information during experiments. You can't set record properties but you can see them in experiment results using input property report.