Skip to content

A browser based implementation of posners basic paradigm as presented in "Components of Visual Attention" using jsPsych.

Notifications You must be signed in to change notification settings

adriansteffan/posner-covert-attention

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Components of Visual Attention (Posner & Cohen, 1984)

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.

Prerequisites

Docker and Docker Compose are needed for deployment.

This project was developed and deployed on MacOS and Ubuntu systems.

Deployment

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.

Built With

Authors

License

This project is licensed under the GNU GPLv3 - see the LICENSE.md file for details

About

A browser based implementation of posners basic paradigm as presented in "Components of Visual Attention" using jsPsych.

Topics

Resources

Stars

Watchers

Forks

Languages