Glyphfield Create
Build the requested artifact in the real Glyphfield state model and leave it editable.
Route the work
- For a new repeatable composition, generate a
design-sequencethrough the HTTP API, apply it in Design Lab, then refine it there. - For an existing browser design, read its current source and make the smallest source-preserving edit.
- For local fonts, uploads, WebGL materials, direct placement, or visual judgment, work in
/studiothroughwindow.glyphfield.studio. - Treat export as a separate final step. Use
$glyphfield-exportwhen it is available.
Read references/design-lab.md before changing a layered composition or saved design.
Composition workflow
- Establish the intended identity, output dimensions, still or motion outcome, and whether the user means a new or existing design.
- Open Design Lab and call
describe()before relying on actions. Its public tool ID ismaterial. - Read the current source for existing work. Preserve unknown fields, page IDs, element IDs, asset records, metadata, and ordering.
- Add or update only the required artboards and layers. Design Lab supports multiple text, logo, image, sticker, shader, and Effect layers. An Effect layer runs a built-in converter (Bayer, ASCII, halftone or posterize) or a Shaders.com image effect over every layer beneath it in its artboard.
- Keep shader layers behind authored content unless the requested composition says otherwise. Use
page.elementIdsas the authoritative back-to-front order. - Use opacity and blend modes on the actual layer. A Bayer, ASCII, halftone, or posterize converter should have intentional foreground and background colors.
- Apply through the Studio adapter, re-read source, and confirm the intended values and order survived.
- Inspect the authentic rendered canvas at the requested frame. Save a named design when the user wants a reusable or restorable result.
When the result must survive the current browser profile or origin, follow /docs/artifacts/backup-and-restore: copy the normalized current source and retain original non-embedded assets. A named browser save alone is not an off-device backup.
Design decisions
- Start from Gem Smoke (
paper-gem-smoke) when a shader background is useful; use no background when the brand mark alone is stronger. Do not resurrect legacy Holo defaults. - Pick materials from
/api/materials. The library hides retired materials such as shape primitives, plain fills and raw noise; a saved design that already uses one still loads it, but do not add one to new work. - Shaders.com materials (IDs starting with
shader-effects-) and image effects need WebGPU. Without it the canvas shows their still preview and export throws. When the user's browser may lack WebGPU, prefer a Paper or Glyphfield material. - Preserve legibility. A white mark on a white sticker border needs a contrasting fill, outline, shadow, surface, or border color.
- Shader size is visual zoom from
0.1to10; do not misuse canvas zoom to change exported geometry. - Frame history is authored state. Save the selected frame/timeline settings with the design rather than treating the gallery thumbnail as canonical.
- Do not add a surface, background, sticker, or effect merely because the tool supports it.
Completion
Do not stop at a successful source application. Re-read the source, inspect the canvas, and verify that visible placement, layer order, identity, frame, and saved state match the request. If an export was requested, verify it independently.
If restore or migration is involved, read /docs/reference/version-compatibility and store the normalized source returned after application.