Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 2.81 KB

PROJECTIONS.md

File metadata and controls

59 lines (39 loc) · 2.81 KB

Map Projections

It is mathmatically imposible to create a perfect map of a globe and minecraft is inherently flat. Therefore, some distortion must be made when creating the world. The way this distortion is expressed can vary based on what properties the user wants. This is generaly a trade-off between shape accuracy and area accuracy. Any projection can be described as two equations relating longitude and latitude to the 2D x/y coordinates.

λ = longitude
φ = latitude
x = x-coordinate
y = y-coordinate

Equirectangular

x = λ
y = φ

Source: Wikipedia

This is just a simple projection that does no transformation on the latitude and longitude. This is the fastest and simplest projection. It is the default projection, and has fairly decent shape and area preservation as long as you are not near the poles.

wikipedia

Sinusoidal

x = λcosφ
y = φ

Source: Wikipedia

This is an equal area projection so any region will have the exact same area in the game as they do on earth. This comes at the cost of high shape distortion This projection is fairly fast will give you the best performance of any equal area projection. (except mabye Gall-Peters (not supported currently))

wikipedia

Mercator

x = λ in radians
y = log(tan(½φ + 45°)))

Source: Wikipedia

This is the most common projection and is similar the ones used on openstreetmap, google maps, and most modern maps. The shapes (technically the angles) are perfect but the areas are famously way off near the pole (Greenland is not the same size as Africa, dispite what this map says). It is also fairly slow so may lag more than simpler projections.

wikipedia

Equal Earth

Source: Wikipedia

where

Source: Wikipedia

Source: Wikipedia

This is a relatively new projection. It maintains area but also tries to have less shape distortion than Sinusoidal. It was invented by Bojan Šavrič, Bernhard Jenny, and Tom Patterson in 2018. The formula is by far the most complicated of those on this list and it is the slowest. (Reversing it requires solving a 9th degree polynomial)

wikipedia