mariadafon
mariadafon
In the script feedback(st_points); await sleep(300); function feedback(ctr_points) { snap.clear(); var text; if (ctr_points == 0) text = snap.image("img/coin_0.png", win_width / 2 - 100 , win_height / 2 - 100,...
Thanks for your replay. I don't know whats a fiddle is.
I am completely new with js, but this function sleep, exactly like that is extensively used (i.e. https://stackoverflow.com/questions/951021/what-is-the-javascript-version-of-sleep)
Here is the code: I am using a platform to run behavioral experiments called jatos: const win_width = $(window).width(); // Browser window witdh const win_height = $(window).height(); // Browser window...
Thanks for your answer! It helps a lot. As you have said, I found not problem with rotation as svg atrr. But, the thing is I still need to reflex...
Thank you very much! It works =)