API & MCP

Everything a person can do on Wallpaper Group Pattern Maker (17 Symmetries), a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Wallpaper Group Pattern Maker (17 Symmetries)

Choose a plane symmetry group from p1 to p6m, a motif or your own SVG path, colors and cell size. Get a seamless repeat tile as SVG, a CSS background snippet and a larger preview built from the International Tables symmetry operations.

Inputs of Wallpaper Group Pattern Maker (17 Symmetries)
FieldTypeDefaultDescription
groupselect (p1, p2, pm, pg, cm, pmm, pmg, pgg, cmm, p4, p4m, p4g, p3, p3m1, p31m, p6, p6m)"p4g"Wallpaper group
motifselect (leaf, comma, letter, wave, kite, custom)"leaf"Motif
pathtext—Custom SVG path (0–100 box; used with Custom SVG path)
cellinteger120Cell width (px)
stretchinteger100Cell height for oblique and rectangular lattices (% of width)
motifSizenumber30Motif size (% of cell width)
offsetXnumber30Motif position along the first cell edge (%)
offsetYnumber12Motif position along the second cell edge (%)
rotationnumber0Motif rotation (degrees)
colorstext"#164E63 #E0A33A"Motif colors (1–6 six-digit HEX, separated by spaces)
backgroundtext"#F5EEDD"Background (six-digit HEX or none)
coloringselect (by-operation, single)"by-operation"Coloring
widthinteger720Preview width (px)
heightinteger480Preview height (px)

Example request

Pinwheel leaves (p4g)

curl -X POST https://luminawallpaperpattern.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{"group":"p4g","motif":"leaf","colors":"#164E63 #E0A33A"}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "lumina-wallpaper-pattern": { "type": "http", "url": "https://luminawallpaperpattern.usefulweb.app/mcp" }
  }
}