Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 1.88 KB

README.md

File metadata and controls

64 lines (43 loc) · 1.88 KB

#Meditation Deathmatch v0.3

http://meditationdeathmat.ch/

For Meditation Deathmatch, two opponents face off to meditate. We use EEG to read their brain signals and determine who is staying in a meditative state better. Several other biometric factors are also monitored, and the information is visualized in a creative fashion on a projection screen. Various game rules may be used, but in one basic version, a health meter decreases when one opponent is not doing as well as the other.

Collaborators include: Matt Dorsey, Eric Carlin, Shanta Stevens, Joshua Jackson, and Bishop Zareh.

##Installation

First, you'll need one of these:

Fashion!

Then install Node.js and install some packages (these may already be installed when you download this repo. not sure.)

$ npm install express
$ npm install socket.io@1
$ npm install node-thinkgear

then start the app by running (in the node server folder)

$ node app.js

You should see a message that says, "listening on port 3000." Then open a web browser and point it to http://localhost:3000. In most browsers, you do have to include the "http" part.

###Documentation

Based off the Node-Neurosky-Visualizer.

The Client library for the ThinkGear Socket Protocol from NeuroSky.

###Data Model

The output objects look like this:

{ 
	eSense: { 
		attention: 53, 
		meditation: 47 
	},
	eegPower: { 
		delta: 416474,
		theta: 33592,
		lowAlpha: 3877,
		highAlpha: 3142,
		lowBeta: 1569,
		highBeta: 3125,
		lowGamma: 3521,
		highGamma: 1451 
	},
	poorSignalLevel: 0,
	blinkStrength: 55
}