Animation sequence freezes during specific trials using MindProbe server
Hello everybody,
I'm running an experiment presenting frame sequences (20 frames displayed for 100ms each) using the jspsych-animation plugin. When I use an external server (i.e., MindProbe), the sequence occasionally freezes during random trials (approximately 1 from 15 trials), especially in the beginning. Each figure is between 550 to 650 KB. I tried to force the browser to use the GPU for rendering instead of the CPU using this code in the style section in my code:
img {
will-change: transform;
transform: translate3d(0, 0, 0);
}
I also use jsPsych.pluginAPI.preloadImages for each trial to not overload the server (although I tried in addition to also preload all the images together using this code:
fetch("image_list.json")
.then(response => response.json())
.then(images => {
jsPsych.pluginAPI.preloadImages(images, function () {
console.log("All images preloaded.");
});
});
which helped a little bit but didn't solve the problem).
Has anyone encountered similar issues or can suggest debugging approaches?
Comments
We seem to have missed this message, apologies. However, it sounds like a frontend (i.e. jsPsych) problem. I would suggest you ask in their forum