Questions regarding images/pictures


Author
Message
psychostudy
psychostudy
Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)
Group: Forum Members
Posts: 16, Visits: 1,000
Alright, thank you that helped out!
Another question, is it possible to have videos/ animated pictures on surveypages?

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 109K
psychostudy - Friday, December 1, 2017
Hi, I have  some questions regarding pictures/videos:

1) I know it's possible to have an /animate command for shapes and such, but is it possible to have an image move around (e.g. from point A to B)?

2) Is it possible to delay a video/image from appearing when starting a trial? and also to replace an image/video with another after a certain time?

thanks in advance for help.

Re. #1: Yes, <picture> elements have an /animation attribute just like <shape> elements do, i.e. you can have a <picture> move from point A to B by using the points() function in its /animation attribute.
Re. #2: Yes, you can control the point in time _when_ a given stimulus is displayed during a <trial> via the <trial>'s /stimulustimes attribute -- it does not matter whether the stimulus is a <text>, <picture> or <video>.

<trial example>
/ stimulustimes = [0=fixation; 2000=sometextstimulus, anothertextstimulus; 5000=somevideo; ...]
...
</trial>

As for "replacing" a stimulus after a certain time, set up two stimulus elements, and then simply display the 2nd one over the 1st one at the appropriate time. This will work fine for static stimuli like <picture> elements, for <video>s it will depend on whether the 1st video is still running or not.

psychostudy
psychostudy
Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)
Group: Forum Members
Posts: 16, Visits: 1,000
Hi, I have  some questions regarding pictures/videos:

1) I know it's possible to have an /animate command for shapes and such, but is it possible to have an image move around (e.g. from point A to B)?

2) Is it possible to delay a video/image from appearing when starting a trial? and also to replace an image/video with another after a certain time?

thanks in advance for help.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search