The Attention Network Test (ANT) was originally developed by Jin Fan and Michael Posner to measure three functional attentional networks: Alerting, Orienting, and Executive Control. More information can be found at Fan's website.
Gaze-ANT is an advanced evolution of the CRSD-ANT (Centre for Research on Safe Driving), a validated shorter version (approx. 10 minutes) developed in 2009 by Luke Docksteader and Kris Scott.
This 2025 update integrates real-time webcam eye-tracking via WebGazer.js to provide deeper neuro-behavioral insights, particularly for research on Problematic Smartphone Use (PSU) and Digital Detox interventions.
- Continuous Gaze Path: Logs eye coordinates every 100ms during each trial.
- Fixation Stability: Measures "Attentional Wander" via RMSD metrics.
- Inhibition Check: Detects if the eyes "leak" toward distractors in incongruent trials.
- Face Stability Validation: Automatically pauses the test if the subject's face is not detected.
Open index.html with a modern web browser (Firefox or Chrome recommended).
Note: Due to camera security permissions, this MUST be run over HTTPS or localhost.
You can use URL queries to pre-populate participant fields (ID, Session, Study ID, Group, and Age).
Format: index.html?ID=x&sessionNumber=x&studyID=x&groupID=x&age=x
| URL Query | Element Name |
|---|---|
| ID | ID |
| sessionID | Session # |
| studyID | Study ID |
| groupID | Group ID |
| age | Age |
Default keys are Left and Right arrows. To change (e.g., to 'E' and 'I'):
- Open
js/trial.js. - In
stage4Interrupted, changee.keyCode(37 for Left, 39 for Right).
- Use 1:1 aspect ratio PNGs (preferably 100x100px) with transparency.
- Create two versions:
NAMELeft.pngandNAMERight.png. - Place in
images/targets/. - Add reference in
config/targetTypes.js:var stimList = ["Arrow", "YourNewStimulus"];
- Open
js/navigation.js. - Change
var numberOfTestBlocks = 4;to your desired number of blocks.
| Variable | Description | Formula / Source |
|---|---|---|
| alert | Alerting Network | NOCUE – DOUBLE |
| orient | Orienting Network | CENTRE – SPATIAL |
| conflict | Executive Control | INCONG – CONG |
| med.all | Overall Median RT | Correct trials (100-1500ms) |
| pc.all | Overall Percent Correct | Overall accuracy |
| Variable | Description |
|---|---|
| block | 0=practice; 1, 2, 3, 4=test blocks |
| CueType | 1=None, 2=Centre, 3=Double, 4=Spatial |
| Correct | 1=Correct, 0=Incorrect/Timeout |
| RT | Response time in milliseconds |
| Variable | Description |
|---|---|
| Event | fixation, targetOnset, response, or streaming (100ms path) |
| GazeX/Y | Screen coordinates in pixels |
| Timestamp | Precise system time for synchronization |
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Any original or modified version must attribute the original work to the following (original) authors, and include a hyperlink to their respective Web sites:
- Luke Docksteader - http://docksteaderluke.com
- Kris Scott - http://krssctt.com Eye-tracking integration & PSU research enhancements:
- dzakwanalifi - Lead Developer of Gaze integration
- WebGazer.js - Brown HCI Group (https://webgazer.cs.brown.edu/)
Modifications (2025): Background gaze logging, Face stability checks, and PSU research metrics.