This project is a browser-based interactive experience for live EEG visualization, designed as an experimental digital performance piece. The core of the project is to create a gamified visualization system that receives real-time EEG metrics via OSC (later through a WebSocket bridge), and presents them as a competitive “mental battle” between participants. The experience is designed for gallery or classroom-sized installations where spectators can observe contestants’ mental focus visualized as dynamic energy tracks.
- Alpha power
- Theta power
- Alpha-Theta (αθ) product
- Microstate C (mind-wandering), D (focused attention), and E (self-awareness)
index.html,style.css: Core layout and stylingmain.js: Orchestrates the app, initializes UI moduleslanes.js: Draws race lanes for participantscombat.js: Contains logic for alpha-burst calculations and scoringhud.js,scoreboard.js: Heads-up display with player scores and performance indicatorsmockFeed.js: Simulated data for development/testingutils.js: Shared helpersbridge.js: Placeholder for WebSocket OSC bridgetests/: Contains unit tests for the project.
[Instructions for setting up and running the project will be added here later.]