Randomize images using canvas
Corona
shunyata.aishwarya at gmail.com
Fri Sep 21 19:03:41 UTC 2012
Thank you for all your help in setting up the canvas images for the dot
probe task. I think I was advised to use this option because we will be
collecting pixel co-ordinate information, as well integrating other
components into the task (eye tracking for example).
My canvas script allows me to load images side by side (say positive and
negative). However, I am not sure how to randomize the locations in which
the images appear (as in - positive images should randomly show up in
either the left side or right, and similarly for the negative) . At any
point, the screen has a positive and negative image pair, but the location
(i.e. whether right or left) in which either of the two appear is unknown.
My guess was to use the nested property to specify location, but I am not
sure how to get this attribute (given that it is in a nested list) in the
inline script for canvas. I am sorry if this sounds convoluted.Any help
would be appreciated.
Thanks,
Corona
--
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.
To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/cLxlf8XnXkYJ.
For more options, visit https://groups.google.com/groups/opt_out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20120921/359a2fae/attachment.htm>
More information about the Eprime
mailing list