CPSC 4990 — Independent Study

Universal Digital Twin Engine

QUSAI QURESH  ·  APRIL 2026  ·  UNIVERSITY OF LETHBRIDGE
Live Simulation

Sun-Venus Engine

Two-body orbital simulation with light-delayed gravity and leapfrog integration. Pulls real initial conditions from NASA JPL Horizons and compares against the analytic Kepler solution in real time.

🪐
Live Simulation

N-Body Solar System

Full ten-body solar system simulation, Sun through Pluto. Every body exerts gravitational force on every other body, with light-delayed gravity throughout. Built on the same physics engine as Sun-Venus.

📄
Final Report

CPSC 4990 Final Report

The full write-up covering drift analysis, Monte Carlo stability testing across six timestep configurations, and what building a physics simulation from scratch actually taught me about maths, CS, and Godel.

Live Simulation

Barnes-Hut Engine

Precision gravity engine using the Barnes-Hut O(N log N) tree algorithm. Launch custom satellites, watch real-time orbital dynamics, and observe how hierarchical force approximation scales with body count.

📚
Technical Docs

Deep-Dive Documentation

Detailed writeups on the physics and numerics: how the leapfrog integrator works layer by layer, why Kepler drift and Horizons drift measure fundamentally different things, the 1PN EIH equations, and IAS15.