Skip to content

Suleiman700/Impact-Distance-Calculator

Repository files navigation

Impact Distance 🚀

Impact Distance is a specialized tactical utility app developed during the height of conflict to provide clarity and peace of mind during missile alerts and explosions.

Home Screen Tracker

Sometimes, when you see a missile explode or hear a blast, your senses can play tricks on you—making a distant impact feel dangerously close. This app was created as a hobby project to allow users to calculate the exact distance of an impact based on the speed of sound, helping to distinguish between immediate threats and distant events.


🛡️ The Context

Developed in a war zone, this tool solves a specific problem: uncertainty. By measuring the time between the visual flash of an explosion and the audible boom, we can apply physics to determine exactly how far away the event occurred.

"We often see missiles explode and think they are right on top of us. After calculating, we often realize they are miles away."


✨ Key Features

🎯 Precision Tracking

  • Multiple Targets: Track up to 3 impact points simultaneously (configurable in settings).
  • Duration & Distance: Uses precise stopwatch mechanics to calculate distance based on the speed of sound (~343m/s).
  • Manual Position (Anti-Jamming): Set your location manually on the map to continue tracking impacts even if GPS is jammed or unavailable.
  • Real-time Feedback: Haptic and visual cues ensure you don't miss a millisecond during recording.
Home Screen Tracker

🗺️ Advanced Visualization

  • Individual Impact Map: View exactly where an impact occurred relative to your position, including heading and tilt data.
  • Global History Map: A comprehensive view of all recorded impacts.
  • Heatmap Integration: Visualize high-impact zones to understand patterns over time.
  • Mission Management: Group your records into specific "Missions" to keep data organized by date or event.
Impact Map View History

📤 Data & Sharing

  • Share as Image: Generate a premium, high-resolution summary card with a mini-map and statistics to share on social media or with emergency groups.
  • Universal Export: Export your raw data in CSV (for Excel/Sheets) or JSON (for data analysis).
Sharing Card Exporting

📱 Premium UX

  • Tactical Aesthetic: A dark-mode, high-contrast interface designed for low-light environments.
  • Responsive Design: Optimized for one-handed use during stressful situations.
  • One-Handed Mode: Bottom-aligned controls for easier accessibility.
Settings

🛠️ How to Use

  1. Sight: The moment you see the flash or impact, tap the Target Button.
  2. Sound: Tap again when you hear the sound of the explosion.
  3. Calculate: The app automatically calculates the distance based on the duration.
  4. Save & Analyze: The record is saved to your history with your current GPS coordinates, heading, and tilt.

👨‍💻 Tech Stack

  • Framework: React Native (Expo)
  • Navigation: React Navigation
  • Sensors: Expo-Location, Expo-Sensors (Heading/Tilt)
  • Graphics: React Native SVG
  • Icons: Ionicons

📬 Contact & Support

Developed by BrightPixel.


Disclaimer: This app is a hobby tool for distance estimation. Always prioritize official civil defense instructions and seek shelter during active alerts.

About

Impact Distance is a specialized tactical utility app developed during the height of conflict to provide clarity and peace of mind during missile alerts and explosions.

Resources

Stars

Watchers

Forks

Contributors