Attributions
math.gl combines original vis.gl work, adapted numerical algorithms, vendored libraries, and optional datasets. We thank the authors who made these foundations available. Removing an npm dependency does not remove the provenance of code retained in the repository. Mathematical ideas, compatible APIs, copied source, and redistributed data are credited separately below.
Academic references are maintained in the shared bibliography. Citation metadata and source links are generated from references.bib; code and data licenses below remain independent of those citations.
Acknowledgments
We thank Michael Sumner for advice on projection correctness and completeness, and recognize Kyle Barron for his work on deck.gl-raster.
These acknowledgments recognize advice and related work; they do not imply code ownership or a dependency relationship.
Package source inventory
Each published package includes LICENSE, THIRD-PARTY-NOTICES.md, and the
applicable adjacent notices. The indexes link the full terms and describe what
was adapted. Source headers identify upstream copyright holders and licenses.
| Package | Sources and contributions |
|---|---|
| core | Brandon Jones and Colin MacKenzie IV's gl-matrix kernels; three.js math methods; proj4js spheroid arithmetic; Stephen Oney's jsep and Don McCurdy's expression-eval; Apache Arrow's BigInt fallback structure. |
| geometry | CesiumJS culling and bounding volumes; Mapbox earcut and lineclip; luma.gl CPU tessellation lineage. |
| geospatial | CesiumJS geometry; proj4js and PROJ projection work; Charles Karney's GeographicLib; Mike Bostock and D3 contributors' segmented projections. |
| earth | GeographicLib geoid interpolation; Volodymyr Agafonkin's SunCalc; Hošek–Wilkie model data; Bretton Wade's star catalogue conversion; Temporal/JSBI; PhotoStructure's tz-lookup; optional NGA and timezone boundary datasets. |
| dggs | Jon Atkins and AJ ONeal's s2-geometry; CesiumJS token code; separately installed A5, H3 and Open Location Code libraries. |
| web-mercator | Perspective viewport utilities; van Wijk and Nuij's zoom/pan algorithm; Mapbox/react-map-gl compatibility references. |
The projection provenance inventory records individual ports, versions, modifications, reference fixtures and grid sources. Vendored jsep, GeographicLib, Temporal and tz-lookup directories include version and regeneration notes. Separately installed dependencies retain their own licenses; the table is not a transitive dependency bill of materials.
Geometry and numerical foundations
- gl-matrix and three.js math sources are both implementation foundations and useful algorithm documentation. The shipped package notices identify the retained copyright holders.
- Stephen Oney's jsep and Don McCurdy's expression-eval supplied expression parsing and evaluation source material; retained source and license details are recorded in the core package notices.
- CesiumJS core mathematics supplied the original culling and geospatial ports. The retained Apache-2.0 notices apply to those adaptations even where their interfaces have changed.
- Stefan Gottschalk, Ming C. Lin and Dinesh Manocha, OBBTree: A Hierarchical Structure for Rapid Interference Detection: author-hosted paper, cited by the oriented bounding-box construction.
- Mapbox earcut and Mapbox lineclip are the upstream triangulation and clipping implementations adapted for flat arrays. earcut also credits Simon Tatham's linked-list merge sort.
- Steven M. LaValle, Planning Algorithms: quaternion interpolation, is a free mathematical reference cited in the quaternion kernel.
Mathematics and geodesy
- Charles F. F. Karney, Algorithms for geodesics, with GeographicLib documentation and source. math.gl incorporates attributed GeographicLib code and documents numerical qualification separately from the mathematical model.
- John P. Snyder, Map Projections—A Working Manual, USGS PP 1395, and John P. Snyder and Philip M. Voxland, An Album of Map Projections, USGS PP 1453. These freely available references explain projection properties and conventions.
- PROJ and proj4js supply documented formulas, directly adapted kernels and independent test references. Bernie Jenny, Bojan Šavrič, Tom Patterson, and the implementation contributors named in the Equal Earth source receive credit for that projection and its implementation.
- EPSG Geodetic Parameter Dataset and OGC standards inform CRS definitions and serialization. Dataset terms and fixture provenance apply independently of math.gl's source-code license; support for a format is not certification.
- S2 geometry, H3, A5, and Open Location Code define the cell systems exposed by DGGS adapters.
- Jarke J. van Wijk and Wim A. A. Nuij, Smooth and efficient zooming and
panning (2003): author-hosted paper.
This is the algorithm cited by
flyToViewport.
Segmented maps and unfolding
See the projection bibliography and implementation credits for Peirce, Guyou, Gringorten, Berghaus, Goode, Boggs, Collignon and Waterman, including free sources and the specific D3 code used here. Projection invention, numerical implementation and interactive visualization are distinct contributions.
Nico Belmonte inspired the myriahedral examples through his interactive demonstration and 2018 article. Our myriahedral background records the research lineage and implementation differences. The hinge and myriahedral code was developed independently of Nico's application code. Attribution does not imply that an unlicensed application can be copied.
Astronomy, light and sky
These references describe the models used by Earth utilities. Source comments identify which equations or data each implementation uses; simplified display models are not full atmospheric or observatory-grade simulations.
- Volodymyr Agafonkin, SunCalc, and Louis Strous, solar-position equations.
- Lukas Hošek and Alexander Wilkie, Skylight Modelling: model data distributed with the retained BSD notice.
- Kevin Krisciunas and Bradley E. Schaefer, A model of the brightness of moonlight, and Andrew Crumey, Human contrast threshold and astronomical visibility.
- Fritz Kasten and Andrew T. Young, Revised optical air mass tables and approximation formula.
- Ferdinando Patat and collaborators, UBVRI twilight sky brightness at ESO-Paranal.
- Francisco J. Ballesteros, New insights into black bodies, used for the documented stellar color-temperature approximation.
- Eric Bruneton and Fabrice Neyret, Precomputed Atmospheric Scattering, a reference for the cloud/atmosphere model; see source comments for the approximations actually implemented.
- Don Cross, Astronomy Engine, the planetary ephemeris runtime dependency.
- JPL planetary physical parameters and USNO sidereal time supply physical and frame references.
Datasets, imagery and examples
Data licenses can differ from the code license. Preserve the dataset-specific credits when redistributing generated assets or derived data.
| Material | Provenance and terms |
|---|---|
| EGM96 geoid grids | NGA model, GeographicLib distribution; source archive, public-domain attribution and checksums. |
| Optional timezone boundary geometry | © OpenStreetMap and Timezone Boundary Builder contributors; ODbL terms, version and simplification. This is separate from the CC0 tz-lookup table. |
| Bright-star data | Bretton Wade's YaleBrightStarCatalog conversion; pinned commit and BSD notice accompany the derived data. |
| Earth texture imagery | Imagery sources and terms; land-mask provenance. |
| Ice Age Explorer | Dataset authors, publications, versions and licenses; the displayed reconstruction is distinct from the rendering code. |
| Tectonic Time Machine | Model and imagery attribution. |
Maintaining provenance
For new adapted code, retain the upstream copyright and full license, record the source version or commit and material modifications, and include the notice in the published package. For datasets, record the upstream product, license, transformations and checksums. Scientific citations should identify the algorithm without claiming that a paper supplied source code. The repository's source-header check complements the package notice indexes; neither is a substitute for investigating the provenance of a new contribution.
Bibliography
Download the shared BibTeX bibliography or CSL-JSON metadata.
Academic sources cited throughout the documentation.
Ballesteros (2012)
F. J. Ballesteros (2012). New insights into black bodies. EPL (Europhysics Letters), 97, (3), 34008. DOI · Source
Bruneton & Neyret (2008)
Eric Bruneton, Fabrice Neyret (2008). Precomputed Atmospheric Scattering. Computer Graphics Forum, 27, (4), 1079-1086. DOI · Source
Calabretta (2004)
M. R. Calabretta (2004). Mapping on the HEALPix grid. Source
Original single-author preprint cited for the projection equations.
Cao et al. (2024)
Xianzhi Cao, Alan S. Collins, Sergei Pisarevsky, Nicolas Flament, Sanzhong Li, Derrick Hasterok, R. Dietmar Müller (2024). Earth’s tectonic and plate boundary evolution over 1.8 billion years. Geoscience Frontiers, 15, (6), 101922. DOI
Chapman (1931)
S. Chapman (1931). The absorption and dissociative or ionizing effect of monochromatic radiation in an atmosphere on a rotating earth part II. Grazing incidence. Proceedings of the Physical Society, 43, (5), 483-501. DOI
Cornette & Shanks (1992)
William M. Cornette, Joseph G. Shanks (1992). Physically reasonable analytic expression for the single-scattering phase function. Applied Optics, 31, (16), 3152. DOI
Crumey (2014)
Andrew Crumey (2014). Human contrast threshold and astronomical visibility. Monthly Notices of the Royal Astronomical Society, 442, (3), 2600-2619. DOI · Source
Goode (1925)
J. Paul Goode (1925). THE HOMOLOSINE PROJECTION: A NEW DEVICE FOR PORTRAYING THE EARTH’S SURFACE ENTIRE. Annals of the Association of American Geographers, 15, (3), 119-125. DOI
Gottschalk et al. (1996)
S. Gottschalk, M. C. Lin, D. Manocha (1996). OBBTree: a hierarchical structure for rapid interference detection. Proceedings of the 23rd annual conference on Computer graphics and interactive techniques, 171-180. DOI · Source
Gowan et al. (2021)
Evan J. Gowan, Xu Zhang, Sara Khosravi, Alessio Rovere, Paolo Stocchi, Anna L. C. Hughes, Richard Gyllencreutz, Jan Mangerud, John-Inge Svendsen, Gerrit Lohmann (2021). A new global ice sheet reconstruction for the past 80 000 years. Nature Communications, 12, (1). DOI
Henyey & Greenstein (1941)
L. G. Henyey, J. L. Greenstein (1941). Diffuse radiation in the Galaxy. The Astrophysical Journal, 93, 70. DOI
Hosek & Wilkie (2012)
Lukas Hosek, Alexander Wilkie (2012). An analytic model for full spectral sky-dome radiance. ACM Transactions on Graphics, 31, (4), 1-9. DOI · Source
Johnston et al. (1995)
Kathryn V. Johnston, David N. Spergel, Lars Hernquist (1995). The Disruption of the Sagittarius Dwarf Galaxy. Source
Cites the original arXiv draft whose potential parameters are used by the illustrative stellar-motion model.
Karney (2013)
Charles F. F. Karney (2013). Algorithms for geodesics. Journal of Geodesy, 87, (1), 43-55. DOI · Source
Karney (2024)
Charles F. F. Karney (2024). Geodesic Intersections. Journal of Surveying Engineering, 150, (3). DOI · Source
Kasten & Young (1989)
Fritz Kasten, Andrew T. Young (1989). Revised optical air mass tables and approximation formula. Applied Optics, 28, (22), 4735. DOI
Krisciunas & Schaefer (1991)
Kevin Krisciunas, Bradley E. Schaefer (1991). A model of the brightness of moonlight. Publications of the Astronomical Society of the Pacific, 103, 1033. DOI
Kunimune (2019)
Justin Kunimune (2019). Minimum-error world map projections defined by polydimensional meshes. Source
Author-hosted preprint compiled November 8, 2019.
LaValle (2006)
Steven M. LaValle (2006). Planning Algorithms. Cambridge University Press. Source
Section on quaternion interpolation.
Liu et al. (2011)
J.-C. Liu, Z. Zhu, H. Zhang (2011). Reconsidering the Galactic coordinate system. Astronomy & Astrophysics, 526, A16. DOI
Merdith et al. (2021)
Andrew S. Merdith, Simon E. Williams, Alan S. Collins, Michael G. Tetley, Jacob A. Mulder, Morgan L. Blades, Alexander Young, Sheree E. Armistead, John Cannon, Sabin Zahirovic, R. Dietmar Müller (2021). Extending full-plate tectonic models into deep time: Linking the Neoproterozoic and the Phanerozoic. Earth-Science Reviews, 214, 103477. DOI
Müller et al. (2022)
R. Dietmar Müller, Nicolas Flament, John Cannon, Michael G. Tetley, Simon E. Williams, Xianzhi Cao, Ömer F. Bodur, Sabin Zahirovic, Andrew Merdith (2022). A tectonic-rules-based mantle reference frame since 1 billion years ago – implications for supercontinent cycles and plate–mantle system evolution. Solid Earth, 13, (7), 1127-1159. DOI
Patat et al. (2006)
F. Patat, O. S. Ugolnikov, O. V. Postylyakov (2006). UBVRI twilight sky brightness at ESO-Paranal. Astronomy & Astrophysics, 455, (1), 385-393. DOI · Source
Peirce (1879)
Charles Sanders Peirce (1879). A Quincuncial Projection of the Sphere. Source
Petroff (2021)
Matthew A. Petroff (2021). A Square Equal-Area Map Projection with Low Angular Distortion, Minimal Cusps, and Closed-Form Solutions. ACM Transactions on Spatial Algorithms and Systems, 7, (4), 1-16. DOI · Source
Preetham et al. (1999)
A. J. Preetham, Peter Shirley, Brian Smits (1999). A practical analytic model for daylight. Proceedings of the 26th annual conference on Computer graphics and interactive techniques - SIGGRAPH ’99, 91-100. DOI
Ren & MacKenzie (2007)
C. Ren, A. R. MacKenzie (2007). Closed-form approximations to the error and complementary error functions and their applications in atmospheric science. Atmospheric Science Letters, 8, (3), 70-73. DOI
Schönrich et al. (2010)
Ralph Schönrich, James Binney, Walter Dehnen (2010). Local kinematics and the local standard of rest. Monthly Notices of the Royal Astronomical Society, 403, (4), 1829-1833. DOI
Seguinot et al. (2018)
Julien Seguinot, Susan Ivy-Ochs, Guillaume Jouvet, Matthias Huss, Martin Funk, Frank Preusser (2018). Modelling last glacial cycle ice dynamics in the Alps. The Cryosphere, 12, (10), 3265-3285. DOI
Snyder (1987)
John P. Snyder (1987). Map projections: A working manual. Professional Paper. DOI · Source
Snyder & Voxland (1989)
John P. Snyder, Philip M. Voxland (1989). An album of map projections. Professional Paper. DOI · Source
Snyder (1992)
John P. Snyder (1992). An Equal-Area Map Projection For Polyhedral Globes. Cartographica, 29, (1), 10-21. DOI
Tousey & Koomen (1953)
R. Tousey, M. J. Koomen (1953). The Visibility of Stars and Planets During Twilight. Journal of the Optical Society of America, 43, (3), 177. DOI
van Wijk & Nuij (2003)
Jarke J. van Wijk, Wim A. A. Nuij (2003). Smooth and efficient zooming and panning. IEEE Symposium on Information Visualization. Source
van Wijk (2008)
Jarke J. van Wijk (2008). Unfolding the Earth: Myriahedral Projections. The Cartographic Journal, 45, (1), 32-42. DOI
Veevers (2004)
J.J. Veevers (2004). Gondwanaland from 650–500 Ma assembly through 320 Ma merger in Pangea to 185–100 Ma breakup: supercontinental tectonics via stratigraphy and radiometric dating. Earth-Science Reviews, 68, (1-2), 1-132. DOI
References
- S. Gottschalk, M. C. Lin, D. Manocha (1996). OBBTree: a hierarchical structure for rapid interference detection. Proceedings of the 23rd annual conference on Computer graphics and interactive techniques, 171-180. doi:10.1145/237170.237244 Source
- Steven M. LaValle (2006). Planning Algorithms. Cambridge University Press. Source
- Charles F. F. Karney (2013). Algorithms for geodesics. Journal of Geodesy, 87, (1), 43-55. doi:10.1007/s00190-012-0578-z Source
- John P. Snyder (1987). Map projections: A working manual. Professional Paper. doi:10.3133/pp1395 Source
- John P. Snyder, Philip M. Voxland (1989). An album of map projections. Professional Paper. doi:10.3133/pp1453 Source
- Jarke J. van Wijk, Wim A. A. Nuij (2003). Smooth and efficient zooming and panning. IEEE Symposium on Information Visualization. Source
- Kevin Krisciunas, Bradley E. Schaefer (1991). A model of the brightness of moonlight. Publications of the Astronomical Society of the Pacific, 103, 1033. doi:10.1086/132921
- Andrew Crumey (2014). Human contrast threshold and astronomical visibility. Monthly Notices of the Royal Astronomical Society, 442, (3), 2600-2619. doi:10.1093/mnras/stu992 Source
- Fritz Kasten, Andrew T. Young (1989). Revised optical air mass tables and approximation formula. Applied Optics, 28, (22), 4735. doi:10.1364/ao.28.004735
- F. Patat, O. S. Ugolnikov, O. V. Postylyakov (2006). UBVRI twilight sky brightness at ESO-Paranal. Astronomy & Astrophysics, 455, (1), 385-393. doi:10.1051/0004-6361:20064992 Source
- F. J. Ballesteros (2012). New insights into black bodies. EPL (Europhysics Letters), 97, (3), 34008. doi:10.1209/0295-5075/97/34008 Source
- Eric Bruneton, Fabrice Neyret (2008). Precomputed Atmospheric Scattering. Computer Graphics Forum, 27, (4), 1079-1086. doi:10.1111/j.1467-8659.2008.01245.x Source