Astro.Sweep1.mov
Astro.Sweep2.mov
Languages: πΊπΈ English | π°π· νκ΅μ΄
An interactive 3D simulation game prototype designed to raise awareness about space debris issues and explore potential solutions
Astro Sweep is a prototype web application designed as a simulation game concept to raise public awareness about space debris problems and explore practical solutions. The space debris issue is a complex and serious problem, but it remains a challenge without clear solutions. This project aims to make this issue more accessible and understandable through the medium of gaming.
- 3D Earth Visualization: Real-time 3D Earth model using CesiumJS
- Space Debris Simulation: Space debris movement based on actual orbital mechanics
- Interactive Collection Game: Keyboard-controlled gameplay for collecting space debris
- Multi-layered Orbital System: Space debris distribution across LEO, MEO, and HEO orbits
- Real-time Scoring System: Tracking of collected space debris count
- Physics-based Simulation: Orbital velocity calculations considering gravitational constants and Earth's mass
- Flask: Python web framework
- CSV: Space debris data storage and management
- CesiumJS 1.104: 3D Earth and space visualization
- JavaScript (ES6+): Game logic and interaction
- HTML5 & CSS3: UI/UX design
- Font Awesome: Icon system
- ArcGIS MapServer: High-resolution satellite imagery
- CesiumJS API: 3D visualization and entity management
DaHacks3.0/
βββ app.py # Flask main application
βββ generateDebris.js # Space debris data generation script
βββ data/
β βββ debris.csv # Space debris data file
βββ models/
β βββ satellite.glb # 3D model file
βββ static/
βββ index.html # Main game page
βββ Info.html # Project information page
βββ script.js # Game logic and CesiumJS control
βββ styles.css # Stylesheet
- Python 3.x
- Node.js (for space debris data generation)
- Modern web browser (WebGL support required)
- Clone the Repository
git clone https://github.com/your-username/DaHacks3.0.git
cd DaHacks3.0- Install Python Dependencies
pip install flask- Generate Space Debris Data (Optional)
node generateDebris.js- Run Flask Server
python app.py- Access in Browser
http://localhost:5000
| Key | Function |
|---|---|
β |
Move collector northward |
β |
Move collector southward |
β |
Move collector westward |
β |
Move collector eastward |
W |
Increase collector altitude |
S |
Decrease collector altitude |
The game simulates space debris in three orbital regions:
- LEO (Low Earth Orbit): 160km - 2,160km altitude (gray dots)
- MEO (Medium Earth Orbit): 2,000km - 35,786km altitude (blue dots)
- HEO/GEO (High Earth Orbit): Above 35,786km altitude (red dots)
Space debris in each orbit moves at velocities calculated according to real physics laws.
- Gravitational constant: 6.674 Γ 10β»ΒΉΒΉ mΒ³/kgβ sΒ²
- Earth's mass: 5.972 Γ 10Β²β΄ kg
- Orbital velocity: v = β(GM/r)
- Total of 500 simulated space debris objects
- LEO: 300 objects, MEO: 150 objects, HEO: 50 objects
- Each debris has unique orbital parameters
- Fork this repository
- Create a new feature branch (
git checkout -b feature/new-feature) - Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature/new-feature) - Create a Pull Request
This project is licensed under the MIT License.
Five Hs Team - DaHacks 3.0 Hackathon Participants
