Pattern Module

Patterns are tiled SVG overlays applied to individual color zones on the 2D canvas. Each zone can independently have a pattern with its own scale, rotation, opacity, and per-fill color remapping. The renderer now builds each zone pattern on an offscreen canvas, clips it to the zone geometry, subtracts later SVG zone layers that visually sit above it, and then places the flattened result back on the canvas.

The 2D canvas feeds the 3D model texture via the existing canvas-to-texture bridge.