Skip to main content

Function: mollweide()

mollweide(options): GeoProjection

Defined in: src/mobjects/geo/projections.ts:363

Build a Mollweide projection: the elliptical equal-area whole-world map. The auxiliary angle theta solves 2 theta + sin(2 theta) = PI sin(lat) by Newton iteration, then x = R (2 sqrt(2) / PI) (lon - centerLon) cos(theta) (lon in radians) and y = R sqrt(2) sin(theta).

Parameters​

options​

MollweideOptions = {}

Projection parameters.

Returns​

GeoProjection

A projection function.