I am not a psychologist, I am a programmer and I was asked to develop it. Please send me a better description and I will write here.
Web Component for Pursuit Rotor Task to embed in web application.
component-radiusThe radius of the circle bounded by a square. The square is the component size. Default:
dot-radiusThe radius of the rotor. Default:
circle-timeThe number of seconds to complete a round. Default:
rounds-countThe amount of turns until the stop. Default:
red-alertShow red alert when the user mouse is out the rotor. Default:
green-alertShow green alert when the user mouse is in the rotor. Default:
timerCount down seconds before the experiment start. Default:
"0". (If the value is
0, the experiment will start when the user on the rotor)
To get the task results, you can listen to the
finish event returns this data in the
outCountCount the times the user left the rotor.
inTimeMsCount how many milliseconds the user was in the rotor.
document .querySelector("pursuit-rotor-task") .addEventListener("finish", (e) => console.log(e.detail));