Looming pictures

gilis giladsabo at gmail.com
Thu Jun 17 10:55:25 UTC 2010


Never tried to do something like this, but it seems that if the
picture size is increasing or decreasing in constant rate for each
pull, then you have to build set of stimuli with the different
possible sizes (a lot of work, there is possibly much easier way if
you have the time and knowledge to program it all into inline that
change the size of given pictures in accordance with its present size
and the direction in which the joystick was pulled) for each picture.

Then, you name each stimulus x as x&"y", with y representing number in
a given direction. Say that if subject pull the joystick six times in
one direction then y=6 and the size of the stimulus is corresponding
to that. Y=0 stand for the stimuli initial size and numbers preceded
by "-", for instance, represent the number of pullings in the opposite
dierction.Then, if the subject pulled the joystick in the positive
numbers direction three times (y=3) and then in the following trial
pulled it in the negative numbers direction you set the Y attrbiute to
Y-1, or to Y+1 in the opposite case. You always have to update your
programe after each trial what is the value of Y.

You do that by setting an attribute called y (c.setattrib "Y", 0+z),
with z dimmed as integer. You have to tell your computer that z=1 in
case of pulling in one direction and -1 in the other direction.

It's only on the surface of the things, and it may be that I'm over
simplfying them, but I think this is a start.

Rgds
Gilis

On Jun 15, 8:05 pm, Craig <cmark... at gmail.com> wrote:
> Hello,
>  I am trying to program a task in which there are looming pictures
> that change depending on the person's response with the joystick.  I
> am currently trying to program an experiment in which pictures are
> presented on the screen, and participants are required to push or pull
> a joystick and squeeze the trigger based on the color of the
> background (e.g., a blue background means push the joystick away).
> When the joystick is pushed, the image size needs to gradually
> decrease (to strengthen the feeling that the picture is pushed
> away). When the joystick is pulled, the image size should increase.
>
> I am using E-prime version 2.0. Professional.  I found a similar
> question on the list, but I didn't see an answer.
>
> I was wondering whether:
> 1) anyone has programmed a looming task where pictures get bigger or
> smaller (I think I need to use the Object Slide, but I am not so sure
> how to do it)
> and
> 2) whether anyone has programmed a task where pressing a joystick in a
> particular direction and squeezing the trigger causes a picture to
> change (i.e.,  how can I collect joystick-movement-data and how I can
> subsequently use this information to present the next picture.).
>   Thanks so much in advance.
>  Craig

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.



More information about the Eprime mailing list