Skip to content
Ákos Kappel
Language: en
Theme
Light
Dark

CleanEEG

Web app for a service that removes noise from EEG recordings, with a WebGL viewer that compares raw and cleaned signals. I built the frontend from scratch.

  • December 2025 to March 2026
  • Team of 2
  • Frontend from scratch
  • WebGL viewer

About the project

CleanEEG removes noise and artefacts from EEG recordings (brain signals). Users upload their recordings, the service cleans them, and they need to check that the cleaning removed the noise without damaging the signal.

I built the whole web app from scratch in a team of 2, from December 2025 to March 2026: signup, pricing, billing, the file dashboard and the EEG viewer. The backend in Spring Boot and the Python cleaning worker were built by colleagues.

What I did

  • An EEG viewer that shows raw and cleaned signals over each other, only one of them or their difference, with stacked channels and the true values in tooltips
  • Signal filters (high-pass, low-pass and notch) running in the browser, so changing a filter needs no request to the server
  • Full keyboard control for views, panning, amplitude, window size and full screen, plus channel search and file download
  • Multi-step signup, login with route guards, pricing, billing and notifications
  • A file dashboard with drag-and-drop upload, a price estimate before processing and a status stepper for each file
  • TanStack Router, Query, Form, Table and Virtual throughout, with Zod validation and the React Compiler

Architecture

  1. 1ReactThe web app: upload with drag and drop, a price estimate and the status of each file
  2. 2Spring BootStores the recording, sends it for cleaning and returns a reduced signal for the viewer
  3. 3PythonThe worker that removes noise and artefacts from the recording
  4. 4PlotlyThe viewer cuts out the visible time window, filters it in the browser and draws it with WebGL

Key decisions

  1. WebGL instead of SVG charts

    The first two versions of the viewer used Recharts, which draws every point as an SVG element. EEG recordings have many channels with hundreds of samples per second each, so the third version moved to Plotly's WebGL scatter plots, which draw on the GPU.

  2. Draw only what is visible

    The backend reduces the data before sending it, and the viewer finds the visible time window with a binary search and passes only that slice to the chart, so panning and zooming stay quick on long recordings.

  3. Filters in the browser

    The high-pass, low-pass and notch filters are standard biquad filters computed in the browser. Users can compare settings instantly instead of waiting for the server to process the file again.

Lessons learned

  • Pick the drawing technology for the size of the data. The SVG chart library was quick to start with, but the amount of data called for WebGL.
Company
IGT Systems
Role
Built the whole web app from scratch, including a fast WebGL EEG viewer
Team size
2