eyetracker.start

getEyeTracker(id).start() (since PennController 1.8) Starts tracking which element is being looked at. You should use first to tell the eye tracker which elements are to be tracked. The EyeTracker element will not collect any data points until start is executed. Use to stop tracking elements and sending data to your PHP script. Example: [js highlight=”9″ …

eyetracker.hideFeedback

getEyeTracker(id).hideFeedback() (since PennController 1.8) Hides the red dot estimating your looks. The red dot is hidden by default after calibration, but you can turn it back on using . Example: [js highlight=”11″ try=”data”]newTrial( newButton(“Start”).print().wait(newEyeTracker().test.ready()) ) newTrial( newEyeTracker(“tracker”).calibrate(70) , newText(“Left”).css(“padding”,”20vw”).print(“20vw”, “40vh”), newText(“Right”).css(“padding”,”20vw”).print(“60vw”, “40vh”) , getEyeTracker(“tracker”).add( getText(“Left”) , getText(“Right”) ).showFeedback().start() , newTimer(1000).callback( getEyeTracker(“tracker”).hideFeedback() ).start() , newSelector().add( getText(“Left”) …

eyetracker.calibrate

getEyeTracker(id).calibrate(threshold) (since PennController 1.8) or getEyeTracker(id).calibrate(threshold,attempts) Calibrates the eye-tracker so that threshold% of the estimated looks fall on the target. If the eye-tracker was calibrated before, this command will display a button at the center of the page: after clicking it, participants must fix it for 3s. If fewer than threshold% of the estimated looks …