Skip to content

Information and open-source code regarding a jsPsych-based eye tracking system for online vision science experiments.

Notifications You must be signed in to change notification settings

amyvanwell/gazerCode

Repository files navigation

Gazer Code and Sample Experiment

Documentation

For full documentation of Gazer past download and install, please consult the Gazer Docs.

Demo

To see the demo working online, see the deployment at the following link.

How To Install

  1. Branch this repository and download the branch onto your computer.
  2. If you don't already have Node.js on your computer, install it from: Download link
  3. In terminal, navigate to the new repository and run the command:
npm install

How To Run Experiments

Follow the next step to create a local HTTPS server. You must complete installation to perform these steps.

  1. In terminal, navigate to the folder you have been coding in (default name gazerTemplate) and run the following command:
npm run experiment

The server you have opened will close if you exit the tab in which you ran the previous command. You will have to repeat step 1 each time you want to run the experiment.

  1. In the browser, navigate to this URL: Localhost
  2. Once you've done that, you'll be at the experiment.html file and at the start of the program :)

About

Information and open-source code regarding a jsPsych-based eye tracking system for online vision science experiments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published