Continuous unfurl engine: Pythagorean limb departure and dynamic horizon clipping
When transitioning between a 3D orthographic sphere and a planar cylindrical projection, standard GIS frameworks perform hard cuts or opacity fades. GeoGenesis implements a frame-by-frame continuous geometric morpher driven by the Pythagorean limb departure envelope .
1. Parallel Limb Departure Derivation
On an orthographic sphere of radius , surface coordinates map to Cartesian screen coordinates:
At vertical offset , latitude is fixed by . Applying the Pythagorean theorem to the cross-sectional circle parallel to the equatorial plane at height :
2. Continuous Morphing Topology Function
For unfurl parameter (: sphere; : planar projection ), the blended transformation is defined as:
3. Dynamic Horizon Clipping
At , only the visible hemisphere facing the camera is rendered (). As , the clipping boundary expands to reveal the complete planet:
Antimeridian cutting (d3.geoClipAntimeridian) activates when , preventing meridian seam tearing during planar layouts while preserving continuous 3D rotation at .