Skip to content

This web app uses an AI model trained with TensorFlow.js to guess if a (fake) person would be "focused" or "distracted" based on simulated brain waves (alpha/beta/gamma) generated every second.

License

Notifications You must be signed in to change notification settings

Eduardo-J-Morales/NeuroFlow-AI

Repository files navigation

NeuroFlow AI

This web app employs an AI model, trained with TensorFlow.js, to predict whether a simulated individual is "focused" or "distracted." This prediction is based on simulated brain wave data (alpha, beta, gamma) generated every second. The app also features a glowing meter indicating the AI's confidence level in its prediction and visually represents the AI's "brain structure" using simple cards. Finally, it displays the predicted state with emojis: 🧠 for focused and 😴 for distracted.

Note: There is an explanation to install this Web App below for developers, however you don't need to install anything to try this Web App!
An online demo is available here: Live Web App Deployment

Features

  • Synthetic EEG Generation: Simulated alpha/beta/gamma waves
  • In-Browser ML Training: TensorFlow.js neural network
  • 3D Focus Feedback: Color-changing brain sphere
  • Precision Session Timer: Focus-duration analytics
  • Production-Grade React: Clean state management

Technology Stack

  • React
  • TensorFlow.js
  • License: MIT

Installation

  1. Clone the repo:

    git clone https://github.com/Eduardo-J-Morales/NeuroFlow-AI.git
    cd NeuroFlow-AI
  2. Install dependencies:

    npm install
  3. Run the app:

    npm run dev

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Releases

No releases published

Packages

No packages published