[solved] image display speed
hey
I am building my third exp/ in opensesame and the program is great
in my new exp i want to display an image that looks like it is coming to or from the viewer
I used the scale image option but the problem is that the image animation is not smooth but "jumps"
I attached the image display code
would appreciate you help

Comments
Hi Dror,
I see. In principle your approach is fine: Simply draw a series of frames that scale the image differently. But your implementation may be too slow, which is why it jumps. The easiest way to make the process faster is to construct all
canvasobjects first, and then show them one after another. That way the animation won't be slowed down by thecanvaspreparation time. For example:Alternatively, you can directly use the PsychoPy or Expyriment functions, which allow you to scale images as well. This will probably be even more efficient, but I doubt that it will be necessary in this case:
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
hi
I used the array and it works better(the animation itself)
but.
every trail is a different stim and it takes 5-8 seconds before every trail starts
is there a way to speed things up
I have a fixation of 1 second before every animation and scaling procedure after every stim in every trail
dror
As I mentioned, an alternative would be to use PsychoPy directly. PsychoPy allows you to change the size of the object on the fly, without requiring you to prepare each frame separately. The downside is (or could be) that you are tied to the psycho back-end when you use this approach:
Check out SigmundAI.eu for our OpenSesame AI assistant!
works like a charm/
thank you/