Hachure
Matt DesLauriers · 2023
Hachure continues DesLauriers’ exploration of maps, topography, and the geological processes that shape our world. The artwork takes its name from the cartographic term "hachure," which refers to the parallel lines used to denote terrain heights. This work is created with JavaScript, Zig, and a web browser. Special thanks to Nicholas McDonald for his educational articles and open source software on hydraulic erosion, which was invaluable while developing this project. “It's a study of erosion and a study of landscape and the forms that it creates over many, many, thousands or millions of years where water and wind and other forces are acting on the earth's crust or the earth's terrain and producing these kind of intricate and beautiful results, which itself is a system. In some ways it's a bit of a continuation of my other works where it's thinking about terrain and about how do I take these computational systems and simulate natural process.” - Matt DesLauriers
How it works
index.js fills polygons with hatch lines (hachure/clipPolylinesToBox, resampleLineBySpacing) thresholded by simplex noise and WASM erosion, with catmull-rom/bezier spline polylines.
The core is plotter-like drawing that fills polygons with hatching lines. index.js fills the interior of polygons with evenly spaced parallel lines using hachure / clipPolylinesToBox and resampleLineBySpacing, making surfaces as if shaded with a pen. The fill's density is decided by threshold-dividing regions with simplex noise and a WASM erosion process. The regions' outlines and strokes are smoothed into Catmull-Rom / Bézier spline polylines, and the polygonal mosaic sections combine with the hatch direction to make a distinctive image like a map's contour lines or a print. The noise seed, the degree of erosion, the hatch spacing and the palette change per token, so the lines' expression ranges from sparse and open to densely engraved.
Palette
#000000#8e8e8e#914e72#0078bf#00a95c#3255a4#f15060#3d5588#765ba7#00838a#bb8b41#407060#ff665e#925f52#ffe800#d2515e#ff6c2f#ff48b0#88898a#ac936e#e45d50#ff7477#62a8e5#4982cf#0074a2#235ba8#484d7a#435060#d5e4c0#a5aaa8#70747c#5f8289 +102 more #1a1a1a#2d2d2d#424242#595959#707070#888888#a1a1a1#c4c4c4 Algorithms
- Plotter-style Hatching primary · classification: LLM
- Perlin / Simplex Noise · classification: LLM
- Polygon Mosaic · classification: LLM
- Bezier / Catmull-Rom Splines · classification: LLM
Details
Sources
- IPFS 1p.infura-ipfs.io ↗
- Source verse.works ↗
Related works (by shared algorithms)
Last updated 2026-07-16