Country Curves

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.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.