Watching the rapid acceleration of the Middle East's space sector—from the UAE's Mars missions to Oman's recent Aman-1 launch—inspired me to build something that bridges the gap between software engineering and orbital mechanics. I wanted to create a tool that didn't just display static data, but actively modeled physical systems in real-time.
The result is MENA Orbital Command, a custom-built, full-stack 3D telemetry dashboard that tracks and projects the trajectories of regional satellites using live Earth-Centered Inertial (ECI) data.
Building this required stepping out of the standard web-development sandbox and treating the software like a mission control system. I separated the architecture into three distinct layers:
The true value of this project wasn't in following a tutorial, but in debugging complex edge cases where web development intersects with physics.
<u>The "Ball of Yarn" Rendering Issue</u> Initially, I programmed the engine to draw a full 24-hour orbital path for every satellite. While this worked perfectly for Geostationary (GEO) satellites like Qatar's Es'hail series, it caused a critical visual failure for Low Earth Orbit (LEO) satellites like the UAE's KhalifaSat. Because LEO satellites orbit every 90 minutes while the Earth rotates beneath them, drawing 24 hours of data created a massive, tangled web of cyan lines that crashed the browser's frame rate.
<u>DOM Memory Leaks and State Management</u> To attach names and altitudes to the 3D models, I initially used floating HTML elements linked to the Three.js canvas. However, because the orbital math recalculates positions 60 times a second, the browser's Document Object Model (DOM) couldn't destroy and recreate the HTML tags fast enough, resulting in a severe memory leak.
To bring the project to life, I bypassed standard shared hosting and deployed the architecture to a Contabo Virtual Private Server (VPS) running Ubuntu. I manually configured an Nginx web server, wired it to a dedicated PHP-FPM socket, and secured the sub-domain via Certbot/SSL.
MENA Orbital Command taught me that software engineering isn't just about moving data from a database to a screen; it's about translating the physical world into digital logic. Whether I am routing packets across a server or predicting the coordinate transformation of a satellite moving at 7 kilometers per second, the core engineering principle remains the same: build systems that are efficient, scalable, and mathematically sound.