Skip to content

Map simplified by uniform sampling and marching squares. The result should look geometric with only vertical, horizontal, and 45-degree (and 135-degree) lines.

Notifications You must be signed in to change notification settings

puripant/marching-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Map simplified by uniform sampling and marching squares. The result should look geometric with only vertical, horizontal, and 45-degree (and 135-degree) lines. Still a work in progress.

The input is a TIFF file converted from an SVG file, quantized (or color-indexed), and scaled down to remove anti-alias artifacts. For example, this is an converted map of the United States.

Geometric map of the United States

Here is one for Thailand.

Geometric map of Thailand

Adapted from https://bl.ocks.org/mbostock/4886c227038510f1c103ce305bef6fcc

About

Map simplified by uniform sampling and marching squares. The result should look geometric with only vertical, horizontal, and 45-degree (and 135-degree) lines.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published