Replies: 1 comment 5 replies
-
I don't have a good answer to why the frame dropping is affected by the slider and button, so I'm hoping that someone else will respond... However I did see that you're presenting images at a rate of 1 per frame, so just wanted to mention that it might be worth switching to |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm trying to add slider functionality identical to the slider and button in jspsych-video-slider-response.js to jspsych-animation.js, and running into performance issues. The slider and button work perfectly fine, but after a number of trials (5-10) I get bad frame rate drops in the canvas element. My animations are long, but performance is perfectly fine when using the default animation plugin.
Currently I've added the slider and button code directly underneath the animation code. I've tried lots of variations, but performance remains the same.
Any tips?
Here's a link:
http://natehess.com/dynFractals/
I've gotten rid of some features so that you can just click "continue" to get through the stimuli quickly. The display rate starts dropping within 5-10 stimuli.
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions