Skip to content

rayyan-merchant/MeteorMadness-NasaSpaceAppsChallenge

Repository files navigation

MeteorMadness-NasaSpaceAppsChallenge

🌍 Meteor Madness: Asteroid Impact Simulator

Project Banner Status

An interactive web-based asteroid impact simulator that combines real NASA data with physics-based calculations to model impact scenarios and evaluate planetary defense strategies.


🚀 Demo & Repository


🎯 Overview

Meteor Madness is an educational tool designed for the NASA Space Apps Challenge that helps users understand asteroid impact threats and planetary defense strategies. It transforms complex scientific data into an intuitive, interactive experience.

The Challenge

A newly identified near-Earth asteroid poses a potential threat to Earth. Do we have the tools to help the public and decision-makers understand and mitigate its risks?

Our Solution

An all-in-one simulator that:

  • Fetches real-time asteroid data from NASA
  • Models impact physics with scientific accuracy
  • Visualizes impacts on an interactive 3D Earth
  • Evaluates deflection mission feasibility
  • Calculates advanced effects (casualties, climate impact, tsunamis)

✨ Features

  • NASA Data Integration: Fetch real near-Earth object (NEO) data from NASA NeoWs.
  • 3D Visualization: Interactive globe (Three.js) with impact markers.
  • Physics-Based Calculations: Energy, crater size, seismic magnitude, blast radius, tsunami risk.
  • Terrain & Population Effects: Casualties, atmospheric changes, historical comparisons.
  • Deflection Planning: Kinetic Impactor, Gravity Tractor, Nuclear, Laser — with feasibility, cost, and success probability.
  • User-Friendly Interface: Clean space-themed design, sliders, tooltips, and mobile-friendly layout.

Guided Workflow

1. Fetch NASA Data → View real asteroids
2. Select Asteroid → Auto-fills parameters
3. Adjust Location → Drag Earth or use sliders
4. Calculate Impact → See comprehensive results
5. Plan Defense → Evaluate deflection strategies

🛠️ Tech Stack

  • Frontend: HTML5, CSS3 (glassmorphism), JavaScript (ES6+)
  • 3D Graphics: Three.js
  • API: NASA NeoWs API
  • License: MIT

📁 Project Architecture

File Structure

meteor-madness/
├── index.html              # Main HTML structure
├── app.css                 # All styling (glassmorphism theme)
├── config.js               # API keys and constants
├── earth_visual.js         # 3D Earth visualization (Three.js)
├── app.js                  # Main controller + impact physics
├── deflection_calc.js      # Deflection mission planning
├── adv_effects.js          # Terrain, casualties, atmosphere
└── matt-gross-*.jpg        # Background image (space)

⚡ Quick Start

  1. Clone the repository:

    git clone https://github.com/rayyan-merchant/MeteorMadness-NasaSpaceAppsChallenge.git
  2. Add your NASA API key to config.js:

    const CONFIG = {
      NASA_API_KEY: "your_api_key_here",
    };
  3. Open index.html in a modern browser — or use the Live Demo.


👥 Team

Team Members

Challenge: Meteor Madness Location: Karachi, Pakistan
Event: NASA Space Apps Challenge 2025


👥 Project Contributors


Built for NASA Space Apps Challenge 2025

Making asteroid impact science accessible to everyone.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors