On this page

Generators

Registry discovery, schemas, and the current tool set.

Generators are the units of design. Each has a slug, param schema, defaults, and one or more render paths.

Discovery

curl -s http://localhost:3001/v1/generators

Response items look like:

{
  "slug": "marble-vein",
  "name": "Marble Vein",
  "version": "0.1.0",
  "formats": ["png", "webp"],
  "animated": false,
  "defaults": { "scale": 3.2, "warp": 1.4 },
  "paramSchema": { "type": "object", "properties": {} }
}

Agents and UIs should treat this endpoint as the live catalog, not a hardcoded list.

Current set

Organic fields and abstract tools (category Abstract in the UI):

SlugName
shader-gradientShader Gradient
mesh-gradientMesh Field
marble-veinMarble Vein
aurora-curtainAurora Curtain
nebula-bloomNebula Bloom
film-iridescenceFilm Iridescence
caustic-poolCaustic Pool
starfieldStarfield
liquid-chromeLiquid Chrome
silk-flowSilk Flow
contour-atlasContour Atlas
magnetic-inkMagnetic Ink
prism-cascadePrism Cascade
plasma-vortexPlasma Vortex
frost-crystalFrost Crystal
light-trailsLight Trails
waveformWaveform
blob-sculptBlob Sculpt
radial-burstRadial Burst
voronoi-facetVoronoi Facet
stripe-fieldStripe Field
dot-latticeDot Lattice
chevron-flowChevron Flow
geo-tileGeo Tile
grain-noiseGrain Field

Open any of the 25 tools in the tools library.

Material studies

The new material tools use different rendering techniques and include four authored presets each:

ToolVisual controlsExport
Liquid ChromeLiquid folds, relief, polish and studio light directionPNG, WebP, GIF, MP4
Silk FlowFabric pleats, billow, sheen and fine threadsPNG, WebP, GIF, MP4
Contour AtlasElevation bands, terrain warp, contour weight and paperPNG, WebP
Magnetic InkLabyrinth density, ink coverage and reflected edgesPNG, WebP
Prism CascadeGlass blades, refraction, dispersion and brilliancePNG, WebP, GIF, MP4
Plasma VortexSpiral arms, central aperture, inclination and emissionPNG, WebP, GIF, MP4
Frost CrystalSeeded crystal growth, side branches and frosted glassPNG, WebP
Light TrailsFilament bundles, sweep, opening and glowPNG, WebP, GIF, MP4

Mesh Field v0.2 adds local color falloff, warped boundaries and contour definition. Caustic Pool v0.2 replaces soft patches with focused light networks and supports seamless animated exports. Their existing slugs, presets and recipe links still work, with the revised rendering appearance. New optional parameters receive defaults when opening older recipes.

Animated material tools use speed for motion amplitude and loopSeconds for duration. A speed of zero freezes the image. PNG/WebP use the same still phase shown in the editor.

Mesh Field's SVG samples the color field into vector paths; its CSS export is a lightweight radial-gradient approximation. Choose PNG or WebP for the full rendered detail.

Param schemas

Schemas are Zod on the engine, exported as JSON Schema on the API. The web editor builds controls from the same shapes (grouped in the UI by presentation metadata).

Invalid params → 400 with RFC 9457 problem details.

Adding a generator (engine)

  1. Implement under packages/engine/src/generators/<slug>/
  2. registerGenerator(...) in generators/index.ts
  3. Optional: catalog blurb in apps/web/src/lib/catalog.ts
  4. Tests in multi-gen.test.ts (double-render + seed variance)