TECHNICAL SPECS

Physics Engine Deep-Core // ORB-SYS-V4

PHYSICS INTEGRATION 📊

High-Fidelity Newtonian Core

The simulation utilizes a high-frequency integration loop. Every frame, the engine calculates the summation of all vector forces acting on the rocket's center of mass.

F_net = F_thrust [v] + F_gravity [r] + F_drag [rho, v^2]

Calculated using Temporal Sub-stepping. The engine runs 5+ sub-iterations per visible frame to maintain accuracy at orbital velocities (7.8 km/s+).

Atmospheric Modeling (ISA)

Density is not a constant. We implement the full ISA lapse rate to model how the environment changes as you ascend.

Troposphere Lapse Rate: -6.5 K/km
Dynamic Pressure Q = 0.5 * rho * v^2
Mach Regimes Subsonic to Supersonic Transitions

ORBITAL MECHANICS 🛰️

Keplerian State Vectors

In Advanced Mode, the system ceases to be a simple 2D scroller and becomes a true orbital simulator. Position and velocity are integrated relative to the planetary centroid.

  • Apoapsis / Periapsis: Real-time calculation of highest and lowest points of the current trajectory.
  • Eccentricity: Monitoring the circularity of your orbit.
  • SOI Transitions: Automated hand-over between gravity wells of Earth, Moon, and Mars.

SYSTEM ARCHITECTURE 🏗️

The code is a masterpiece of modularity, designed for zero-dependency performance.

Architecture Graph

[ main.js ] -> [ orchestrates ] -> [ physics.js | editor.js | advanced.js ]