Skip to content

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

🌌 FermiParadox

"Where is everybody?" — Enrico Fermi, 1950

FermiParadox is an AI-powered astrophysics simulator that models the rise and fall of civilizations across the galaxy, constrained by real physics. It combines a high-performance Rust simulation engine with a React + Three.js frontend and a Claude AI narrative layer.


✨ Features

  • 🔭 Real exoplanet data from the NASA Exoplanet Archive
  • ⚡ Rust-powered physics engine — stellar evolution, energy scaling, Dyson Sphere detectability
  • 🧠 AI narrative generation — each civilization gets a unique story derived from physical parameters
  • 🌐 Interactive 3D galaxy map — Three.js visualization of simulated civilizations
  • 📡 Fermi Paradox analyzer — calculates the Great Filter probability given your simulation results
  • 🕰️ Andromeda Paradox visualizer — relativistic simultaneity cones per civilization
  • 📊 Kardashev tracker — real-time energy type progression (I → VII)

🏗️ Architecture

FermiParadox/
├── frontend/          # React + Three.js + Vite
│   └── src/
│       ├── components/   # Galaxy map, civilization cards, paradox visualizer
│       ├── hooks/        # useSimulation, useNarrative, useExoplanets
│       ├── store/        # Zustand state management
│       └── utils/        # Physics helpers, API clients
├── backend/           # Rust — Axum HTTP server + simulation engine
│   └── src/
│       ├── main.rs
│       ├── simulation/   # Civilization lifecycle, energy models
│       ├── physics/      # Stellar evolution, detectability, Dyson math
│       └── api/          # REST endpoints
└── docs/              # Architecture decisions, physics references

🚀 Quick Start

Backend (Rust)

cd backend
cargo run --release
# API available at http://localhost:8080

Frontend (React)

cd frontend
npm install
npm run dev
# UI available at http://localhost:5173

🔬 Physics Model

The simulation engine implements:

  • Stellar Habitable Zone drift over time using luminosity evolution: L(t) = L₀ · (t/t₀)^0.4
  • Kardashev Energy Scaling: K = (log₁₀(P) - 6) / 10.4 where P is watts consumed
  • Dyson Sphere IR Excess: detectable excess at ~10μm for Type II+ civilizations
  • Great Filter probability via Drake Equation with Monte Carlo sampling
  • Relativistic simultaneity for the Andromeda Paradox visualizer

🤖 AI Narrative Layer

Each civilization simulation produces a structured JSON output fed to Claude AI, which generates:

  • Origin story constrained by stellar type and planetary conditions
  • Technological trajectory based on Kardashev progression
  • Collapse/survival analysis based on energy availability
  • Detectability report — what James Webb would see from Earth

💰 Monetization

Tier Features Price
Free 3 simulations/day, basic map $0
Explorer Unlimited sims, AI narratives, export $9/mo
Research API access, bulk simulations, custom params $29/mo

🛣️ Roadmap

  • Core simulation engine (Rust)
  • Galaxy 3D map (Three.js)
  • AI narrative generation
  • NASA exoplanet data integration
  • Multiplayer civilizations (competing/cooperating)
  • JWST observation mode (real telescope data overlay)
  • WebAssembly port of physics engine
  • Mobile app

📚 References


🤝 Contributing

PRs welcome. Please read docs/CONTRIBUTING.md before submitting.


Built with Rust 🦀 + React ⚛️ + Three.js 🌐 + Claude AI 🤖

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages