Plugins
Patterns 29 pattern types — fills, stripes, dots, tiles, Japanese motifs, terrazzo, and custom vector patterns.
Geometric and organic repeat patterns with 29 layer types, 153 presets, and spatial shading. Includes hatching, stippling, tiling, Japanese traditional patterns, and custom vector pattern definition.
npm install @genart-dev/plugin-patterns
Type ID Display Name Description patterns:fillFill Generative fill (hatch, stipple, crosshatch, wave, grid) patterns:stripeStripe Parallel lines with configurable spacing and angle patterns:dotDot Dot grids and scatter patterns patterns:checkerChecker Checkerboard with configurable cell size patterns:waveWave Sinusoidal wave lines patterns:crosshatch-geoCrosshatch Perpendicular line hatching for tonal shading patterns:herringboneHerringbone Zigzag interlocking pattern patterns:tileTile Seamless tiling (brick, basketweave, hex, scale, moroccan) patterns:customCustom User-defined vector patterns from drawing commands patterns:triangleTriangle Triangle grid pattern patterns:diamondDiamond Diamond grid pattern patterns:hexagonHexagon Hexagonal grid pattern patterns:starStar Star motif pattern patterns:circleCircle Circle/ring pattern patterns:japaneseJapanese Traditional Japanese patterns (asanoha, seigaiha, shippo, kumiko) patterns:latticeLattice Lattice grid pattern patterns:plaidPlaid Overlapping stripe groups patterns:cubeCube Isometric cube pattern patterns:leafLeaf Leaf motif pattern patterns:floralFloral Floral motif pattern patterns:memphisMemphis Memphis-style geometric shapes patterns:eyeEye Eye motif pattern patterns:spiralSpiral Spiral motif pattern patterns:terrazzoTerrazzo Aggregate stone-like scattered colored chips patterns:squareSquare Square grid pattern patterns:octagonOctagon Octagon grid pattern patterns:scaleScale Fish/dragon scale overlapping arcs patterns:chainlinkChainlink Interlocking chain pattern patterns:ethnicEthnic Ethnic decorative patterns
Property Type Default Description strategyselect"hatch"Fill strategy: hatch, stipple, crosshatch, wave, grid anglenumber45Line angle (0–360°) spacingnumber8Line/dot spacing (2–100px) lineWidthnumber1Line width (0.5–20px) colorcolor"#000000"Pattern color backgroundColorcolor"#ffffff"Background fill regionstring'{"type":"bounds"}'Clip region (bounds, rect, ellipse, polygon) opacitynumber1Layer opacity (0–1)
Property Type Default Description styleselect"classic"classic, bold, blob sizenumber16Chip size (4–80px) color1color"#2c3e50"Chip color 1 color2color"#ecf0f1"Chip color 2 color3color"#c0392b"Chip color 3 densitynumber40Chip density (5–100%) rotationnumber0Pattern rotation (0–360°) opacitynumber1Layer opacity (0–1)
Property Type Default Description angle1number45First line set angle (0–360°) angle2number135Second line set angle (0–360°) spacingnumber10Line spacing (2–100px) lineWidthnumber1Line width (0.5–20px) colorcolor"#000000"Line color backgroundColorcolor"#ffffff"Background fill opacitynumber1Layer opacity (0–1)
Property Type Default Description tileShapeselect"brick"brick, basketweave, hex, scale, moroccan sizenumber40Tile size (8–200px) gapnumber2Gap between tiles (0–20px) rotationnumber0Pattern rotation (0–360°) color1color"#d4c5a9"Primary tile color color2color"#8b7d6b"Background/mortar color opacitynumber1Layer opacity (0–1)
Tool Description list_pattern_presetsList all 153 presets grouped by category add_patternAdd a pattern layer by type and preset or properties update_patternUpdate properties on an existing pattern layer set_pattern_regionClip pattern to bounds, rect, ellipse, or polygon set_pattern_shadingValue-based shading (uniform, linear, radial, noise, algorithm) tile_patternConfigure tiling shape, size, gap, and colors create_patternDefine custom vector pattern from drawing commands
{
"tool" : "design_add_layer" ,
"arguments" : {
"type" : "patterns:terrazzo" ,
"properties" : {
"style" : "classic" ,
"size" : 12 ,
"color1" : "#2c3e50" ,
"color2" : "#e74c3c" ,
"color3" : "#f39c12" ,
"density" : 50
}
}
}
Landscape composition — sky, mountains, water, vegetation, and 12 scene recipes.
Particle systems — falling, floating, scatter, mist, trailing, flow, and mark fields with depth lanes.