Country Curves

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

The border of a country can be represented by a parametric curve derived from a Fourier series approximation. In this Demonstration, the Fourier series is computed using the border coordinates stored in CountryData. To form an elegant parametric equation representing the curve, the coefficients are rationalized.


Increasing the number of terms of the series or decreasing the tolerance of the rationalization gives a more accurate curve.


Contributed by: Erik Mahieu (February 2013)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.