Function: orthographic()
orthographic(
options):GeoProjection
Defined in: src/mobjects/geo/projections.ts:160
Build an orthographic projection: the view of a globe from infinitely far
away. Only the near hemisphere is mappable; a point on the far hemisphere
(angular distance greater than 90 degrees from the view center) comes back as
[NaN, NaN], so callers drop it (see isProjectedPointVisible).
Spinning-globe pattern: build one projection per frame with a growing
rotate[0], for example orthographic({ rotate: [frame * 2, 0] }), and the
globe turns eastward. Two different rotate values give two still frames of
that spin.
x = radius * cos(lat) * sin(lon - centerLon) and
y = radius * (cos(centerLat) sin(lat) - sin(centerLat) cos(lat) cos(lon - centerLon)).
Parameters
options
OrthographicOptions = {}
Projection parameters.
Returns
A projection function.