A browser based implementation of posners basic paradigm as presented in Components of Visual Attention using jsPsych. It it meant to be used as a demonstration when discussing the paper in a lecture.
This implementation deviates slightly from the original paradigm, as the black square cannot appear while the cue is still active. Also, the cue was replaced with a red flashing of the corresponding box. As this implementation is built for demonstration purposes, these minor were found to be unproblematic.
Docker and Docker Compose are needed for deployment.
This project was developed and deployed on MacOS and Ubuntu systems.
After cloning the repository, you can build the project by running
./build-container.sh
in the prod_posner-covert-attention directory. This will automatically start the webserver serving the app, you can stop it with
docker-compose down
and later restart it with
docker-compose up -d
in the prod_posner-covert-attention directory.
Depending on your setup, you might want to change the ip mapping in prod_posner-covert-attention/docker-compose.yml. I recommend leaving it the way it is and pointing an apache reverse proxy or something similar to the specified port.
- Adrian Steffan adriansteffan website
This project is licensed under the GNU GPLv3 - see the LICENSE.md file for details