genart.dev
Plugins

Textures

Surface textures — paper, canvas, washi, and procedural noise.

Surface texture layers that simulate physical media substrates and procedural patterns.

Installation

npm install @genart-dev/plugin-textures

Layer Types

Type IDDisplay NameDescription
texture:paperPaperPaper grain texture with configurable roughness
texture:canvasCanvasCanvas weave texture
texture:washiWashiJapanese washi paper texture with fiber patterns
texture:noiseNoiseProcedural noise texture (Perlin, Simplex, Worley)

Properties

texture:paper

PropertyTypeDefaultDescription
roughnessnumber0.5Surface roughness (0-1)
colorcolor"#f5f0e8"Paper tint color
opacitynumber0.3Texture visibility (0-1)
scalenumber1.0Texture scale multiplier
blendModeselect"multiply"Blend mode with layers below

texture:canvas

PropertyTypeDefaultDescription
weaveSizenumber4Canvas weave size in pixels
depthnumber0.5Weave depth/prominence (0-1)
colorcolor"#e8dcc8"Canvas tint color
opacitynumber0.3Texture visibility (0-1)
blendModeselect"multiply"Blend mode

texture:washi

PropertyTypeDefaultDescription
fiberDensitynumber0.4Visible fiber density (0-1)
fiberLengthnumber20Average fiber length in pixels
colorcolor"#f0e8d8"Paper base color
fiberColorcolor"#d8c8a8"Fiber strand color
opacitynumber0.4Texture visibility (0-1)
blendModeselect"multiply"Blend mode

texture:noise

PropertyTypeDefaultDescription
typeselect"perlin"Noise type: perlin, simplex, worley
scalenumber0.01Noise frequency scale
octavesnumber4Number of noise octaves
persistencenumber0.5Amplitude decay per octave
colorcolor"#000000"Noise tint color
opacitynumber0.2Texture visibility (0-1)
seednumber0Noise seed (0 = use sketch seed)
blendModeselect"multiply"Blend mode

MCP Tools

ToolDescription
design_add_paper_textureAdd a paper grain texture layer
design_add_canvas_textureAdd a canvas weave texture layer
design_add_washi_textureAdd a washi paper texture layer
design_add_noise_textureAdd a procedural noise texture layer

Example

{
  "tool": "design_add_layer",
  "arguments": {
    "type": "texture:paper",
    "properties": {
      "roughness": 0.6,
      "color": "#f5f0e8",
      "opacity": 0.25,
      "blendMode": "multiply"
    }
  }
}