Inquisit Language Reference
The animation attribute changes the position of a visual stimulus over time.
<clock> <picture> <shape> <text> <video>
or/ animation = path(duration, loopcount, x1, y1, x2, y2, x3, y3, ...)
or/ animation = points(duration, loopcount, x1, y1, x2, y2, x3, y3, ...)
or/ animation = size(duration, loopcount, start, xcenter, ycenter, radius)
|duration||The duration in milliseconds of the entire animation.|
|loopcount||The number of times the animation should loop, or -1 for continuous looping.|
|start||The starting point on the circle as a percentage of the circular arc, ranging from 0 (top of the circle) to 100 (back to the top of the circle). A positive value indicates clockwise movement, and a negative values indicates counter clockwise movement.|
|xcenter||The horizontal coordinate of center point of the circle.|
|ycenter||The vertical coordinate of the center of the circle.|
|radius||The radius of the circle.|
|x1||The horizontal position.|
|y1||The vertical position.|
|x2||The horizontal position.|
|y2||The vertical position.|
The animation attribute enables the position of a stimulus to change throughout the course of a trial. The circle option moves the stimulus in a circle. The path option moves the stimulus on a continuous path across a set of given points. The points option repositions the stimulus across a set of discrete points.
The following runs a repeating loop animation that moves a circle shape to move from the top-center to the bottom-center of the screen over 5 seconds.
/ animation=path(5000, -1, 50%, 0%, 50%, 100%)
The following runs an animation that moves a rectangle twice around a circular path that is centered on the screen with a radius half the height of the screen.
/ animation=circle(5000, 2, 50, 50%, 50%, 100%)
The following runs a repeating loop animation that repositions a circle shape on two discrete pionts over a 5 second interval.
/ animation=points(5000, -1, 50%, 0%, 50%, 100%)