Skip to content

KaranSinghDev/WebROOT_X

Repository files navigation

CI/CD Pipeline

WebROOT-X: Client-Side Physics Analysis with WebAssembly

WebROOT-X is a proof-of-concept platform that runs high-performance C++ physics analysis code directly in the browser using WebAssembly. It demonstrates a "zero-server" approach to scientific computing, shifting the computational load from centralized servers to the researcher's own machine .


🚀 Live Demo & Showcase

The application is hosted on Vercel

Deploy with Vercel

Visual Showcase

A short demonstration of the application calculating the invariant mass of a Z-Boson from particle data in real-time. All calculations are happening locally in the browser.

Video.Project.mp4

Problem & Solution

  • Problem: The High-Luminosity LHC will generate more data than traditional server farms can handle sustainably.
  • Solution: WebROOT-X shifts the computational load from centralized servers to the researcher's browser, enabling scalable, "zero-server" analysis.

Key Features

  • C++ in the Browser: Runs a C++17 physics engine for 4-Vector algebra and invariant mass calculations directly in the browser via WebAssembly.
  • Interactive Frontend: A modern, responsive frontend built with React and Vite, featuring real-time data visualization with Recharts.
  • Zero Server Load: All calculations are performed client-side, reducing server costs and network latency to zero during analysis.
  • Reproducible Build: A fully containerized build pipeline using Docker and CMake ensures the C++ engine is compiled reliably.

Tech Stack

Category Technologies
Frontend React.js, Vite, JavaScript, Tailwind CSS
Backend/Kernel C++17, WebAssembly (Wasm), Emscripten
DevOps Docker, CMake, Google Test (GTest)

How to Run

Ensure Docker and Docker Compose are installed.

  1. Stage and commit the build configurations:

    git add CMakeLists.txt Dockerfile.wasm Dockerfile.test .vscode/
    git commit -m "chore: add build configurations and VSCode environment settings"
  2. Stage and commit the Orchestrator and Documentation:

    git add docker-compose.yml README.md
    git commit -m "docs: finalize system orchestration and scientific documentation"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors