🌌 Gravity Yonder Over - Educational Physics Platform

Python Streamlit License

Gravity Yonder Over is an advanced educational web application that combines theoretical physics with interactive simulations and games to provide a comprehensive learning experience in gravitational physics. Built with Streamlit, PyGame, and CPU-based physics models, it offers an engaging way to learn about gravity, orbital mechanics, black holes, and gravitational waves.

šŸŽÆ Features

šŸ“š Educational Content

  • Comprehensive Theory: Detailed explanations of physics concepts
  • Historical Context: Stories of scientific discoveries and pioneers
  • Mathematical Foundations: Equations and derivations with explanations
  • Real-World Applications: How physics concepts apply to everyday life

šŸŽ® Interactive Games

  • šŸŽ Gravity Drop Challenge: Master projectile motion and gravity effects
  • šŸ›°ļø Orbital Designer: Design stable orbits and learn Kepler's laws
  • šŸ•³ļø Black Hole Escape: Navigate extreme gravity and relativistic effects
  • 🌊 Gravitational Wave Detective: Detect waves from merging black holes

šŸ”¬ Physics Simulations

  • CPU-Based Physics Engine: No GPU required, runs on any computer
  • Interactive Visualizations: Real-time parameter adjustment
  • 3D Field Visualizations: See gravity fields and spacetime curvature
  • Animation Support: Video simulations and trajectory analysis

šŸ“Š Learning Tools

  • Adaptive Quizzes: Questions tailored to your progress
  • Progress Tracking: Monitor your learning journey
  • Interactive Calculators: Solve physics problems step-by-step
  • Trajectory Predictors: Visualize projectile and orbital paths

šŸ“– Learning Topics

šŸŽ Gravity Basics

  • Newton's Law of Universal Gravitation
  • Gravitational fields and potential energy
  • Escape velocity and orbital mechanics fundamentals
  • Tidal forces and their effects

Interactive Game: Launch projectiles with different gravity settings to hit targets and understand trajectory physics.

šŸš€ Orbital Mechanics

  • Kepler's Three Laws of Planetary Motion
  • Circular and elliptical orbits
  • Orbital velocity and energy relationships
  • Spacecraft trajectory design

Interactive Game: Design satellites with proper velocities to achieve stable orbits around a central body.

⚫ Black Hole Physics

  • Einstein's General Relativity
  • Event horizons and Schwarzschild radius
  • Hawking radiation and black hole thermodynamics
  • Relativistic effects and time dilation

Interactive Game: Navigate a spacecraft around a black hole, avoiding the event horizon while collecting fuel.

🌊 Gravitational Waves

  • Einstein's prediction and LIGO detection
  • Binary merger signatures and chirp signals
  • Coincidence detection methods
  • Future of gravitational wave astronomy

Interactive Game: Operate multiple detectors to find gravitational wave signals from cosmic events.

šŸ› ļø Technical Architecture

Core Components

  • streamlit_app_new.py: Main application interface
  • src/cpu_physics_engine.py: CPU-based physics calculations
  • src/educational_games.py: PyGame-based educational games
  • src/plotly_visualizer.py: Interactive visualizations
  • src/interactive_simulation_engine.py: Advanced simulation tools

Physics Models

  • Classical Mechanics: Newtonian gravity and orbital dynamics
  • Relativistic Effects: Simplified General Relativity concepts
  • Wave Physics: Gravitational wave propagation
  • Numerical Integration: Runge-Kutta and symplectic methods

Game Engine

  • PyGame Integration: Real-time physics games
  • Streamlit Compatibility: Seamless web integration
  • Educational Focus: Learning-oriented game design
  • Progressive Difficulty: Adaptive challenge levels

šŸŽ® Game Details

Gravity Drop Challenge

Objective: Hit targets by adjusting launch parameters and gravity strength.

Learning Goals:

  • Understand projectile motion equations
  • See gravity's effect on trajectory shape
  • Develop intuition for launch angles
  • Practice physics problem-solving

Controls:

  • Launch angle (0-90 degrees)
  • Launch speed (10-200 m/s)
  • Gravity strength (1-20 m/s²)

Orbital Designer

Objective: Create stable circular orbits at target radii.

Learning Goals:

  • Master the v = √(GM/r) relationship
  • Understand orbital velocity requirements
  • See consequences of incorrect velocities
  • Learn about escape trajectories

Controls:

  • Target orbital radius
  • Velocity factor adjustment
  • Real-time orbital prediction

Black Hole Escape

Objective: Navigate around a black hole while collecting items.

Learning Goals:

  • Experience extreme gravitational effects
  • Understand event horizons
  • Feel tidal force effects
  • Learn about relativistic physics

Controls:

  • Thrust direction and power
  • Fuel management
  • Distance monitoring

Gravitational Wave Detective

Objective: Detect gravitational waves using multiple detectors.

Learning Goals:

  • Understand wave detection principles
  • Learn about coincidence requirements
  • Analyze chirp signal patterns
  • Experience scientific methodology

Controls:

  • Detector activation/deactivation
  • Signal analysis tools
  • Detection threshold settings

šŸ“Š Educational Features

Progress Tracking

  • Completion status for each topic
  • Mastery levels and skill assessment
  • Time spent learning
  • Quiz performance analytics

Adaptive Learning

  • Personalized learning paths
  • Difficulty adjustment based on performance
  • Recommended next topics
  • Remedial content suggestions

Assessment Tools

  • Interactive quizzes with immediate feedback
  • Conceptual questions and calculations
  • Problem-solving exercises
  • Real-world application scenarios

Adding New Games

  1. Create game class in src/educational_games.py
  2. Implement physics simulation and rendering
  3. Add game runner in src/streamlit_game_runner.py
  4. Integrate into main app topic pages
  5. Add educational content and learning objectives

šŸŽ“ Educational Philosophy

This platform is designed around several key principles:

Learning by Doing: Interactive simulations and games make abstract concepts tangible.

Progressive Complexity: Start with fundamentals and build to advanced topics.

Multiple Perspectives: Combine mathematical, visual, and intuitive approaches.

Real-World Connection: Link physics concepts to everyday experiences and current research.

Active Engagement: Games and interactivity keep learners engaged and motivated.

Built With

Share this project:

Updates