vorg

vorg/latlon-to-xyz

Convert latitude,longitude to x,y,z position on a unit sphere

JavaScript
1
2
MIT License

The **latlon‑to‑xyz** package converts latitude and longitude coordinates into a 3‑D unit‑sphere position (x, y, z), making it easy to map geographic coordinates to Cartesian space for use in visualizations, simulations, or geometry pipelines. It’s aimed at developers who need a lightweight, mathematically‑accurate transformation—such as game programmers, GIS tool builders, or anyone working with spherical projections in JavaScript or WebGL.

Total donated
Undistributed
Share with your subscribers: