Live demos
Live demos
Interactive previews of core pattapatta ops — packing, hatch, pipelines, triangulation, and meshing. Geometry is computed in the browser (and during prerender) — no server round-trip.
Pipelines
Chained recipes: boolean / morphology → hatch or pack. Inputs are muted; result outlines and fill marks use the foreground stroke.
Two overlapping rects → union → parallel hatch · 17 strokes
Circle packing
Pack disks into a unit-ish rectangle with lattices, inscribed search, stochastic growth, or obstacle-aware packing (seed circle in the center).
49 circles
Triangulation
Star polygon via earcut, Delaunay, Poisson Steiner points, or Ruppert-inspired refine.
58 faces
Meshing
createStar → densify → Poisson triangulation, then graph filters, quadrangulation,
or mesh processing. The star outline stays visible under the faces.
94 faces
Parallel hatch
createRect → hatchParallel → segmentsToOpenPaths.