LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ppmglobe

Create printable paper globe strips

TLDR

Create globe strips
$ ppmglobe [strips] [input.ppm] [output]
copy
Create 12-strip globe
$ ppmglobe 12 [map.ppm] globe
copy

SYNOPSIS

ppmglobe strips input output

DESCRIPTION

ppmglobe converts an equirectangular map projection image into a set of tapered strips that can be printed, cut out, and assembled into a paper globe. The number of strips determines how many pieces the globe is divided into, with more strips producing a smoother sphere.The input image should be in equirectangular (plate carrée) projection, where longitude maps linearly to the x-axis and latitude to the y-axis. Each output strip is saved as a separate numbered PPM file. Part of the Netpbm toolkit.

PARAMETERS

STRIPS

Number of globe strips.
INPUT
Input map image.
OUTPUT
Output filename base.

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

CAVEATS

Assumes equirectangular input. Part of Netpbm suite.

HISTORY

ppmglobe was created as part of Netpbm for paper globe generation.

SEE ALSO

ppm(5)

Copied to clipboard
Kai