Jackson's Orbit App Stage 3 is an ORB refactor of Stage 2.
The animation looks identical — Earth, Moon, space station, drifting stars.
Everything that changed is under the hood.
🪐 The ORB Improvements
O
Organize orbital constants at the top.
Every inline fraction (width*.25, 0.005, 0.01,
15, 500, …) is now a named constant with a
plain-English description. The top of the sketch is a mission-control panel for
the entire solar system.
R
Render first, update state after.drawMyDesign now has two explicit phases: Phase 1 renders
everything back-to-front; Phase 2 advances earthRotation and
angle. Every draw function sees a consistent world snapshot for
the entire frame.
B
Bootstrap initialization in setup().(Here “bootstrap” means “one-time startup setup” — not Bootstrap 5, the CSS framework used for this page layout.)
Stars and land masses are generated once by initMyDesign() —
a hook in the user sketch called from the template’s setup(),
following the same pattern already used for initThemeColor().
The per-frame guard check in drawEarth is gone.
💡 How to Use
Press ▶ Start to begin the animation; click again to pause.
Press ↺ Reset to regenerate land masses and restart.