Unleash the full potential of JavaScript and supercharge your web experiments with this library for experimental programming - based on jsPsych - work in progress! 🎯
I wonder if there is an easy way to change the color of an SVG image. In my experiment, I want to display several object with varied colour. The colour is assigned according to the experimental manipulation.
At the moment, I use psychophysics plugin to display images. I have tried to display the image with image stimulus or using manual stimulus to display it. Both of them did not work.
It would be very helpful if there were an easy solution to do it. Thank you in advance!
Hello,
I wonder if there is an easy way to change the color of an SVG image. In my experiment, I want to display several object with varied colour. The colour is assigned according to the experimental manipulation.
At the moment, I use psychophysics plugin to display images. I have tried to display the image with
image
stimulus or usingmanual
stimulus to display it. Both of them did not work.It would be very helpful if there were an easy solution to do it. Thank you in advance!