An interactive universe simulator for cosmology, quantum fields, collider traces, entropy flow, and audio-reactive geometry.
- Overview
- Demo
- Features
- Simulation Modes
- Controls
- How It Works
- Run Locally
- Project Structure
- Status
- Current Focus
Brahmanda is a full-screen browser experiment that turns ideas from cosmology, quantum mechanics, particle physics, thermodynamics, and sound into one interactive simulation surface.
It is built as a static app with vanilla JavaScript, Canvas 2D, and the WebAudio API. There is no backend, no install step, and no build process. Open the demo and start exploring.
Live: brahmanda.netlify.app
Video: Watch the demo on YouTube
The demo moves through Brahmanda's four main visual states: cosmic structure, quantum field motion, collider-style particle events, and entropy flow.
Interactive physics-inspired canvas
Brahmanda renders a continuously animated universe scene on an HTML canvas. Pointer input affects the simulation, allowing the user to drag through fields, create disturbances, collapse structures, and seed events.
Collider-style event generation
The collider mode generates readable particle-event traces inspired by detector displays. Event presets include Z boson decays, Higgs to four leptons, di-muon events, di-electron events, top-pair events, and QCD jets.
The model uses particle mass, charge, transverse momentum, pseudorapidity, detector layers, missing energy, and stylized curvature. It is visual and educational, not a replacement for a scientific detector simulator.
Live telemetry
The interface displays simulated age, CMB temperature, entropy, redshift, coherence, particle count, and event count. These readouts update as the user changes the current epoch, expansion, quantum fluctuation, and gravity parameters.
Optional sonification
The WebAudio layer maps interaction and simulation state into oscillators, filters, gain envelopes, and short percussive bursts. Audio stays disabled until the user presses Sonify, matching browser autoplay requirements.
| Mode | What it shows |
|---|---|
Cosmos |
A rotating large-scale structure field with cosmic-web style connections. |
Quantum |
A fluctuating vector field with local collapse disturbances. |
Collider |
Standard Model-inspired event traces inside a stylized detector. |
Entropy |
A thermal surface with expanding fronts and information flow. |
| Control | Purpose |
|---|---|
Epoch |
Moves the simulation between earlier and later universe states. |
Expansion |
Changes the scale and spread of the rendered system. |
Quantum |
Increases field fluctuation, particle density, and disturbance strength. |
Gravity |
Changes pointer pull, clustering, and field response. |
Event |
Chooses the collider event preset used by Inject. |
Inject |
Adds a mode-specific event or disturbance. |
Collapse Field |
Pulls the current field toward the pointer region. |
Sonify |
Enables audio-reactive synthesis. |
Reset |
Reseeds the simulation state. |
Brahmanda starts from browser cryptographic randomness when available, then advances the state with a deterministic PRNG so each reset produces a coherent but different universe.
The main animation loop:
- Reads the current mode, sliders, pointer state, and event queue.
- Updates simulation objects such as stars, waves, disturbances, entropy fronts, and collider events.
- Draws the selected mode on the main canvas.
- Updates the telemetry panel and spectrum display.
- Updates WebAudio parameters if sound is enabled.
More detail is available in docs/ARCHITECTURE.md.
Open index.html directly in a modern browser.
No package manager is required.
.
+-- app.js
+-- index.html
+-- style.css
+-- docs/
| +-- ARCHITECTURE.md
| +-- ROADMAP.md
+-- README.md
Prototype. Brahmanda is suitable for public viewing, experimentation, screenshots, demos, and GitHub/Netlify hosting.
Brahmanda is being kept as a polished public creative-physics build rather than the centre of my current research direction. The most useful next improvements are presentation-focused: reproducible seeded states, better exported screenshots, and clearer legends for collider and entropy modes.
- Add a compressed GIF or preview image for the README.
- Add shareable seeded replay links.
- Add PNG snapshot export.
- Explore a Three.js renderer for depth, camera motion, and volumetric scenes.
- Add a clearer particle/event legend for collider mode.
No license has been selected yet. Add one before inviting external reuse or contributions.