Interactive simulation of the Big Bang and cosmic expansion
This project presents an **interactive, visual simulation** of the **Big Bang** and subsequent **cosmic expansion**. It aims to provide intuition for cosmological dynamics through animation and parameter control.
- Animate the early universe expansion phases.
- Allow parameter variation (e.g. expansion rate, initial conditions).
- Visualize the scale factor, particle trajectories, or density evolution.
- Serve as an educational tool for cosmology and computational physics.
π Big-Bang-Simulation/ β βββ BB_Simulation.html β Main interactive simulation (HTML + JS/CSS) βββ (assets/) β Supporting JS, CSS, images, if any βββ README.md β This file
- No installations needed β simply open
BB_Simulation.htmlin a modern browser. - Optionally host it via a local HTTP server for full functionality (if required by scripts):
python -m http.server 8000 - Adjust parameters via on-page controls (sliders, input fields) and observe simulation behavior.
- Use browser developer console for debugging or inspecting runtime variables if needed.
The core of the simulation is based on cosmological equations β e.g. Friedmann equations β and simplified models of expansion. It may include:
- Scale factor \(a(t)\) evolution for different cosmological parameters.
- Particle / object motion in expanding space (comoving vs proper distance).
- Visualization of density, Hubble parameter, or cosmic horizon.