Software framework for intrinsic curve interpolation in the 4D hypersphere using stereographic projection
We present a symbolic and geometric software framework, implemented in Mathematica , for constructing and interpolating curves intrinsically embedded in the four-dimensional hypersphere ( S 3 ⊂ E 4 ) using stereographic projection and its inverse. The framework addresses the challenge of preserving hyperspherical constraints during interpolation by projecting curve data to the three-dimensional hyperplane W = 0 , performing classical Lagrange interpolation in E 3 , and lifting the result back to S 3 through an exact inverse mapping. This approach ensures that interpolated curves remain entirely intrinsic to the hypersphere, avoiding deviations that occur in direct E 4 interpolation. The software provides explicit symbolic implementations for the projection, inverse projection, and interpolation procedures, along with visualization tools based on fixed immersions from E 4 to E 3 . Illustrative examples demonstrate the framework’s accuracy and its ability to handle both curve and surface constructions, highlighting its potential for applications in high-dimensional geometric modeling, theoretical physics, and computational differential geometry. The full source code and examples are available in a public repository for reproducibility and further development.
Authors
- Eder Escobar Gómez (ORCID: https://orcid.org/0000-0002-8732-0159)
- Ricardo Velezmoro-León (ORCID: https://orcid.org/0000-0002-2582-8264)
- Robert Ipanaqué-Chero (ORCID: https://orcid.org/0000-0002-3873-6780)
- Vanessa H. Silupú-Ortega (ORCID: https://orcid.org/0000-0002-5267-1688)
- Manuel H. García-Saba (ORCID: https://orcid.org/0000-0002-0290-245X)
Institutions
- Universidad Nacional de Piura (PE)
Publication Details
- Journal
- SoftwareX
- Published
- 2025-11-26
- DOI
- https://doi.org/10.1016/j.softx.2025.102451
- Primary Topic
- Advanced Numerical Analysis Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00