jspsych / jsPsych

Create behavioral experiments in a browser using JavaScript
http://www.jspsych.org
MIT License
1.03k stars 668 forks source link

jsPsych.extensions.webgazer.showPredictions() - not working.. #3155

Open Saurav-K-Aryal opened 1 year ago

Saurav-K-Aryal commented 1 year ago

Just trying to see how well the calibration, validation, and tracking is actually doing. I'd like to see the red prediction dot through all these task. I followed the following link for 7.3

https://www.jspsych.org/7.3/extensions/webgazer/#showpredictions

but I get this error on the console

Uncaught TypeError: Cannot read properties of undefined (reading 'showPredictionPoints') at t.showPredictions (extension-webgazer@1.0.2:1:3656) at experiment:91:37 t.showPredictions @ extension-webgazer@1.0.2:1 (anonymous) @ experiment:91

Any idea why this may be happening? is there an easier/alternative way to achieve the same output?

Thanks for the lovely framework; saved us a lot of time/work.

smith-garrett commented 6 months ago

In the hope of getting a little movement going on this, I'm just linking to the discussion topic where I'm also having trouble getting this feature working: #3262 . Has anyone figured out how this works? I would be grateful for any pointers!