算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
ornament-style-mono【设计与创意】Design monochrome ornamental patterns grounded in Alexander Speltz's classical ornament taxonomy. Covers historical period selection, motif structural analysis, prompt construction for line art and silhouette rendering, and AI-assisted image generation via Z-Image. Use when creating decorative borders, medallions, or friezes in a single color, explor…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Mono ornament: art history + AI image gen. Rooted in period + motif from Speltz's Styles of Ornament (1904).
Each period has characteristic motifs + structural principles.
Historical Ornament Periods:
┌───────────────────┬─────────────────┬──────────────────────────────────────────┬──────────────────────┐
│ Period │ Date Range │ Key Motifs │ Mono Suitability │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Egyptian │ 3100–332 BCE │ Lotus, papyrus, scarab, winged disk, │ Excellent — bold │
│ │ │ uraeus, ankh │ geometric forms │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Greek │ 800–31 BCE │ Meander/Greek key, palmette, anthemion, │ Excellent — high │
│ │ │ acanthus, guilloche, egg-and-dart │ contrast geometry │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Roman │ 509 BCE–476 CE │ Acanthus scroll, rosette, grotesque, │ Very good — dense │
│ │ │ candelabra, rinceau, trophy │ carved relief style │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Byzantine │ 330–1453 CE │ Interlace, vine scroll, cross forms, │ Good — flat │
│ │ │ basket weave, peacock, chi-rho │ silhouette style │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Islamic │ 7th–17th c. │ Arabesque, geometric star, muqarnas, │ Excellent — pure │
│ │ │ tessellation, knotwork, calligraphic │ geometric abstraction│
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Romanesque │ 1000–1200 CE │ Interlace, beast chains, chevron, │ Very good — heavy │
│ │ │ billet, zigzag, inhabited scroll │ carved stone quality │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Gothic │ 1150–1500 CE │ Trefoil, quatrefoil, crocket, │ Very good — tracery │
│ │ │ finial, tracery, naturalistic leaf │ and window patterns │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Renaissance │ 1400–1600 CE │ Grotesque, candelabra, putto, │ Good — engraving │
│ │ │ medallion, festoon, cartouche │ and woodcut styles │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Baroque/Rococo │ 1600–1780 CE │ C-scroll, S-scroll, shell, asymmetric │ Moderate — complex │
│ │ │ cartouche, garland, ribbon │ forms benefit from │
│ │ │ │ color for depth │
├───────────────────┼─────────────────┼──────────────────────────────────────────┼──────────────────────┤
│ Art Nouveau │ 1890–1910 CE │ Whiplash curve, organic line, lily, │ Excellent — defined │
│ │ │ dragonfly, femme-fleur, sinuous vine │ by line quality │
└───────────────────┴─────────────────┴──────────────────────────────────────────┴──────────────────────┘
→ Period IDed w/ 2-3 candidate motifs + understanding why mono works (or challenges).
If err: not in table (Celtic, Aztec, Art Deco) → WebSearch / WebFetch ornamental vocab + construct equivalent entry w/ motifs + mono assessment.
Structural grammar before prompt.
Symmetry type:
Geometric scaffold:
Fill pattern:
Edge treatment:
→ Structural desc like "bilateral, band scaffold, line-filled, interlocking edges" → informs prompt.
If err: structure unclear → WebSearch "[period] [motif] ornament", analyze first results. Speltz plates public domain + online.
Template:
[Rendering style] of [motif name] ornament in the [period] style,
[composition type], monochrome, black and white,
[structural details from Step 2],
[application context], [additional qualifiers]
Rendering Styles:
detailed line art — clean vector-like, no fillsblack silhouette — solid black on whitewoodcut print — bold carved + grain texturepen-and-ink illustration — fine + hatchingcopperplate engraving — precise parallel lines, tonal gradationstencil design — connected negative space, no floating islandsComposition Qualifiers:
symmetrical, centered, repeating pattern, border designisolated motif on white background, continuous friezewithin a circular frame, filling a rectangular panelMono Constraint (always include):
monochrome, black and white, no color, no shading (pure line art)monochrome, black and white, high contrast (silhouette)monochrome, black and white, fine hatching for depth (engraving)Example Prompts:
detailed line art of Greek meander border pattern, continuous frieze, monochrome, black and white, geometric precision, repeating unit, classical antiquity styleblack silhouette of Egyptian lotus and papyrus ornament, symmetrical panel design, monochrome, black and white, high contrast, temple decoration stylepen-and-ink illustration of Art Nouveau whiplash curve with lily motif, vertical panel, monochrome, black and white, sinuous organic lines, Alphonse Mucha influence→ Prompt 20-40 words: rendering, motif, period, composition, mono constraint.
If err: too vague → add Step 2 specifics. Too complex (>50 words) → simplify, keep structural essentials. Z-Image responds to clear specific — avoid abstract/conceptual.
Resolution by Application:
┌────────────────────┬─────────────────────┬────────────────────────────────┐
│ Application │ Recommended │ Rationale │
├────────────────────┼─────────────────────┼────────────────────────────────┤
│ Medallion / Roundel│ 1024x1024 (1:1) │ Radial symmetry needs square │
│ Tile / Repeat Unit │ 1024x1024 (1:1) │ Square for seamless tiling │
│ Horizontal Frieze │ 1280x720 (16:9) │ Wide format for running border │
│ Vertical Panel │ 720x1280 (9:16) │ Portrait format for columns │
│ Wide Border │ 1344x576 (21:9) │ Ultrawide for architectural │
│ General / Flexible │ 1152x896 (9:7) │ Balanced landscape format │
│ Large Detail │ 1536x1536 (1:1) │ Higher res for fine line work │
└────────────────────┴─────────────────────┴────────────────────────────────┘
steps 8 (default) initial; 10-12 for fine line detailshift 3 (default)random_seed: true for explore or false w/ seed for reproducibility→ Complete param set: resolution, steps, shift, seed strategy.
If err: unsure → 1024x1024 (1:1). Works for most + fastest.
Z-Image MCP call.
mcp__hf-mcp-server__gr1_z_image_turbo_generate w/:
prompt: from Step 3resolution: from Step 4steps: from Step 4shift: from Step 4random_seed: from Step 4seed: if random_seed false→ Image + seed. Image shows recognizable ornamental forms in mono.
If err: MCP unavail → verify hf-mcp-server. Tool error → simplify prompt + retry. Fully abstract no ornamental char → prompt needs specific structural lang → Step 3.
4 criteria.
Monochrome Ornament Evaluation Rubric:
┌─────────────────────┬───────────────────────────────────────────────────────┐
│ Criterion │ Evaluation Questions │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 1. Symmetry │ Does the design exhibit the intended symmetry type? │
│ │ Is it visually balanced? Are repeating elements │
│ │ consistent? │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 2. Monochrome │ Is the image truly black and white? Are there │
│ Fidelity │ unwanted grays, colors, or gradients? Does the │
│ │ rendering style match the request? │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 3. Period Accuracy │ Would this design be recognizable as belonging to │
│ │ the specified period? Are the motifs period- │
│ │ appropriate? Does it avoid anachronistic elements? │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 4. Detail Level │ Is the level of detail appropriate for the rendering │
│ │ style? Line art should have clean lines; woodcut │
│ │ should show bold strokes; engraving should show │
│ │ systematic hatching. │
└─────────────────────┴───────────────────────────────────────────────────────┘
→ Scored eval w/ specific obs. First-gen typically Adequate on 2-3.
If err: all Weak → too abstract or complex. Simplify: one motif, one rendering, explicit "monochrome black and white". Or switch to higher-mono-suitability period.
Strategies:
random_seed: true w/ same prompt → variationsIteration Budget: ≤3 per concept. After 3, reconsider period/motif/rendering fundamentally.
→ Improved after 1-2 iter, or accept current best.
If err: not improving → fundamental concept doesn't translate to model. Try different motif from same period, or switch rendering (line art → silhouette).
→ Reproducible record allows exact regen + design lineage.
If err: doc excessive → at min: final prompt + seed. Sufficient to reproduce.
Across periods, core vocabulary of classical ornament:
ornament-style-color — polychromatic companion; adds palette + color-to-structuremeditate — focused attention + visual imagination for ornamental compositionreview-web-design — design review (hierarchy, rhythm, balance) applies