Submitted:
29 May 2026
Posted:
01 June 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
- (1)
- A full-stack, open-source architecture connecting consumer EEG hardware to a WebXR avatar pipeline via a standards-based OSC protocol.
- (2)
- A mapping heuristic from five EEG frequency-band powers to six VRM facial expression categories, designed for real-time, low-latency deployment.
- (3)
- An evaluation of end-to-end BCI-to-avatar latency and render-loop throughput on commodity XR hardware.
- (4)
- A Focus-to-Action API enabling thought-modulated interaction with virtual objects, demonstrated in a prototype mixed reality environment.
2. Related Work
2.1. EEG-Based Affective Computing
2.2. BCI in Virtual and Augmented Reality
2.3. WebXR and Browser-Native Immersive Experiences
2.4. Open-Source BCI Hardware
3. System Architecture
- the hardware acquisition layer,
- the signal processing and server layer
- the XR rendering layer.
3.1. Hardware Acquisition Layer
3.2. Signal Processing and Server Layer
3.3. WebXR Rendering Layer
4. EEG-to-Expression Mapping
5. Webxr Avatar Rendering
5.1. VRM Model and Animation

5.2. Spatial Anchoring in AR

6. Discussion
6.1. Strengths
6.2. Limitations
6.3. Future Work
7. Conclusions
References
- Liberatore, M. J.; Wagner, W. P. Virtual, mixed, and augmented reality: A systematic review for immersive systems research. Virtual Real. 2021, 25(3), 773–799. [Google Scholar] [CrossRef]
- Xiong, H.; Fu, T.; Prasad, P. B.; Cai, Y.; Chen, H.; Teng, W.; Xiao, H.; Zhao, Y. Mind-to-Face: Neural-driven photorealistic avatar synthesis via EEG decoding [Preprint]. arXiv 2025. [Google Scholar] [CrossRef]
- Cahn, B. R.; Polich, J. Meditation states and traits: EEG, ERP, and neuroimaging studies. Psychol. Bull. 2006, 132(2), 180–211. [Google Scholar] [CrossRef] [PubMed]
- Greco, A.; Valenza, G.; Scilingo, E. P. Brain dynamics during arousal-dependent pleasant/unpleasant visual elicitation: An electroencephalographic study on the circumplex model of affect. IEEE Trans. Affect. Comput. 2021, 12(2), 417–428. [Google Scholar] [CrossRef]
- Wen, D.; Fan, Y.; Hsu, S.-H.; Xu, J.; Zhou, Y.; Tao, J.; Lan, X.; Li, F. Combining brain–computer interface and virtual reality for rehabilitation in neurological diseases: A narrative review. Ann. Phys. Rehabil. Med. 2021, 64(1), 101404. [Google Scholar] [CrossRef] [PubMed]


| Parameter | Specification |
|---|---|
| Sampling rate | 250 Hz |
| ADC resolution | 24 bit |
| Input-referred noise | ~ 1 µV RMS |
| Wireless interface | Bluetooth Low Energy 5 (BLE5) |
| Channels | Up to 8 (expandable to 16 with IronBCI-16) |
| Dominant State/Condition | Avatar Expression | Physiological Rationale |
|---|---|---|
| focus (beta + gamma dominant) | angry / intense | Frontal beta elevation correlates with effortful attention and arousal |
| relax (alpha dominant) | relaxed | Posterior alpha synchronisation signals reduced cortical activation |
| alert (beta > 0.75 AND gamma > 0.55) | surprised | High-frequency co-elevation indicates heightened alertness |
| attention > 0.6 AND meditation > 0.6 | happy | Balanced high-attention + high-meditation = engaged, positive state |
| signalQuality < 0.5 | sad | Poor signal quality encoded as an expressive proxy for uncertainty |
| default | neutral | Baseline state absent clear affective signature |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).