One or more circles or ellipses. Options for border and solid or transparent fill also allow circular/elliptical frames (rings).
In the unusual case that you draw multiple shapes with the same circle element and they overlap and you use transparency for one or more of them (properties color, borderColor below), you may need to set backColor = <cds>"opaque"<cds> for accurate display.
If an element can end on its own, you don't need to set end conditions for it in property end (unless you want it to maybe end earlier).
No—runs until a condition you set in property end.
You can vary or allow the subject to adjust the following input properties of an object of this type in real time when it's running. If you need to make other properties adjustable, you can edit the element type code—see Element Type Programming Manual.
position
nn_eyes
rotation
colorMask
alpha
intensity
contrastMult
(None)
(None)
Default: a circle with diameter 5 deg
A number that is diameter for a circle, or a vector [width height] for an ellipse (deg). Or you can use multiple rows for different sizes for different shapes—see positions below.
Default: white
A 1×3 RGB vector with numbers between 0–1 setting fill color. You can also use a 1×4 RGBA vector to give the fill color transparency, and set A = 0 for no fill. Or an n×3/4 matrix for different colors/transparencies for different shapes—see positions below.
Default: borderWidth = no border
Default: borderColor = white
borderWidth is a number (deg). Or a 1×n vector for different border widths for different shapes—see positions below. 0 = no border.
borderColor is a 1×3 RGB vector with numbers between 0–1 setting border color. Or an n×3 matrix for different border colors for different shapes—see positions below.
Default: show one shape centered at element position
If you want to show multiple shapes at the same time, you can set that here. This is more efficient than using multiple circle elements. positions is a 2-column matrix setting centers for the shapes, with rows corresponding to shapes and columns to [x y] coordinates (deg). Positions are relative to element position, which you can set in position (default relative to screen center). Shapes are layered front-to-back in the order you list them.
If you show multiple shapes then for each of the other properties above you can set one value for all of them, or you can set different values for different shapes using a vector or matrix (see property).
<cd>[]<cd> = show one shape centered at element position.
PsychBench uses record properties to record information during experiments. You can't set record properties but you can see them in experiment results by listing them input property report.
PsychBench © 2017–2023 Giles Holland
Website © 2023 Giles Holland
End user license agreement