block by nitaku 7039746

Simplified Gosper regions

Full Screen

A test for Visvalingam simplification applied to Gosper regions. Mouseover to control the simplification.

The code uses the TopoJSON API as in this Mike Bostock’s example to obtain a topology-preserving simplification (regions are simplified together). If regions were simplified one by one, artifacts (holes and overlaps) would have appeared along the common boundaries.

index.js

index.html

index.coffee

index.css

index.sass