Skip to content
This repository has been archived by the owner on Sep 30, 2022. It is now read-only.

Fil/voronoi-projection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Voronoi projection

Usage: voronoi-projection [options]

Generate a Voronoi map.

Options:

  -V, --version         output the version number
  -n, --n <value>       number of faces (default: 200)
  -w, --width <value>   width (default: 1920)
  --height <value>      height (default: null)
  --colors <value>      color scheme (default: none)
  --background <value>  background color ('' for transparent) (default: white)
  --angle <value>       angle (in degrees) (default: auto)
  --graticule           show graticule
  --land <value>        strategy for land (auto, full, point, poly, none) (default: auto)
  --ocean               favor ocean links
  --fibonacci           fibonacci distribution
  --centroids           large countries centroids distribution
  --noise <value>       perturbation (try: 1) (default: 0)
  -h, --help            output usage information

Comments and timings will be printed to STDERR, and the resulting image sent to STDOUT.

Typical usage could be:

./voronoi-projection > voronoi-world.png

or:

./voronoi-projection --colors schemeSet3 --centroids | imgcat