garrettmflynn / utrecht

BCI Game Design using WASL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

utrecht

BCI Game Design using WASL

Description

The goal of this project is to develop novel brain-computer interface (BCI) tasks that are engaging to children.

Getting Started

  1. If you're running this example across two computers (e.g. a Mac and a PC), you'll want to run network.js to get the local IP address of the computer running BCI2000(Web).

    • Add this to the object in computers.js
  2. On your Windows PC, install Node.js, then run npm install and npm start to start a relay server (server.js) and launch a preconfigured instance of BCI2000(Web).

  3. Serve the contents of this repository alongside the index.html file. We use the Live Server extension in Visual Studio Code.

  4. Open the index.html file in any web browser.

  5. Selecting the appropriate target computer and press Connect.

    • If everything has run successfully, this will automatically connect to the BCI2000 instance and start passing synthetic data.
    • If this has failed, an error message will pop up describing the issue.
  6. If you've successfully connected, you can press the Up / Down / Left / Right buttons to change the reported StimulusCode value in the Developer Console (Ctrl + Click —> Inspect —> Console).

Next Steps

  • Integrate bci2k with device-decoder
  • Emulate the basic P300 task on the browser

The Details

Tasks

Each task will have two conditions: feedback and no feedback.

Active

The user will try to move their hand / foot, which will trigger some movement on the screen.

Evoked

The user will look at flashing objects, which will respond to their glance (e.g. using P300 / SSVEP).

Acquisition System

We will acquire ECOG and fMRI signals using MicroMed and BlackRock amplifiers.

BCI2000 will receive the data and (1) store it, as well as (2) process it for BCI commands.

Presentation System

We will develop the games for use on web browsers. They will be able to send/receive WebSocket messages from BCI2000 using the BCI2000Web extension and the bci2k library.

Collaborators

About

BCI Game Design using WASL

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 89.5%Language:Batchfile 8.6%Language:HTML 1.9%