算法艺术创作
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 快照 · 自动分类 · 以原作者文档为准
結合古典紋飾之藝術史知識與 AI 輔助影像生成,設計單色紋飾模式。每設計皆根於 Alexander Speltz 之《The Styles of Ornament》(1904)所述具體歷史時代與圖案傳統。
自古典紋飾分類學中擇時代。每時代皆有特徵圖案與結構原則。
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 │
└───────────────────┴─────────────────┴──────────────────────────────────────────┴──────────────────────┘
預期: 已明辨時代,附 2-3 候選圖案,並了解該時代紋飾於單色下何以良好(或具挑戰)。
失敗時: 若用戶請求未在表中之時代(如 Celtic、Aztec、Art Deco),以 WebSearch 或 WebFetch 研究其紋飾詞彙並構同等條目,附圖案表與單色適合性評估,後再行。
於構建提示前了解所擇圖案之結構文法。
辨對稱類型:
辨幾何骨架:
辨填充模式:
辨邊緣處理:
預期: 結構描述如「雙邊對稱、帶本骨架、線填、互鎖邊」,將指引提示。
失敗時: 若圖案結構不明,以 WebSearch 查「[period] [motif] ornament」尋視覺參考並分析首數結果。Speltz 之原版圖版乃公有領域,網上廣可得。
用時代、圖案與結構分析,為 Z-Image 生成構建文字提示。
提示範本:
[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]
渲染風格選項:
detailed line art — 潔淨向量式線、無填black silhouette — 白地基上實黑形woodcut print — 粗刻線附木紋紋理pen-and-ink illustration — 細線附陰影線以求深度copperplate engraving — 精準平行線創色調漸變stencil design — 連通負空間,無浮島組成限定詞:
symmetrical、centered、repeating pattern、border designisolated motif on white background、continuous friezewithin a circular frame、filling a rectangular panel單色約束(恆當含):
monochrome, black and white, no color, no shading(純線稿)monochrome, black and white, high contrast(剪影)monochrome, black and white, fine hatching for depth(銅版風)例提示:
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預期: 20-40 字之提示,指明渲染風格、圖案、時代、組成與單色約束。
失敗時: 若提示過模糊,加步驟二之結構具體。若過繁(過 50 字),去形容詞而留結構要旨,以簡之。Z-Image 對清晰具體之提示反應最佳——避抽象或概念語言。
擇合於應用上下文之解析度與生成參數。
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(預設)作初始生成;增至 10-12 用於細線細節shift 設為 3(預設)除非實驗random_seed: true,或為可重現以特定種子設 random_seed: false預期: 完整參數集備好生成:解析度、steps、shift、種子策略。
失敗時: 若不確定解析度,預設 1024x1024(1:1)——適多數紋飾上下文且最快生成。
呼 Z-Image MCP 工具以製紋飾。
mcp__hf-mcp-server__gr1_z_image_turbo_generate,附:
prompt:步驟三構之提示resolution:步驟四steps:步驟四shift:步驟四random_seed:步驟四seed:若 random_seed 為假則具體種子預期: 生成影像與種子值。影像當顯可辨之單色紋飾形式。
失敗時: 若 MCP 工具不可用,驗 hf-mcp-server 已配(見 configure-mcp-server 或 troubleshoot-mcp-connection)。若工具可用但返錯,簡化提示重試。若生成影像全抽象無紋飾特徵,提示需更具體之結構語言——回步驟三。
對四準則評估生成影像。
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. │
└─────────────────────┴───────────────────────────────────────────────────────┘
預期: 含具體觀察之評分。多數首生影像於 2-3 準則上得「足」。
失敗時: 若所有準則評為弱,提示或過抽象或過繁。簡至最要:一圖案、一渲染風格、明「monochrome black and white」約束。考轉至單色適合性更高之時代。
透過針對性迭代精煉設計或接受結果。
迭代策略:
random_seed: true 並同提示——此產同概念之變體迭代預算: 每設計概念限 3 迭代。3 迭代後若結果不滿意,根本上重考時代/圖案組合或渲染風格。
預期: 1-2 迭代後影像改進,或決定接受當前最佳結果。
失敗時: 若迭代未改進結果,根本提示概念或不能良好譯至模型。試同時代之另一圖案,或全變渲染風格(如自線稿至剪影)。
為可重現與參考建終設計之完整記錄。
預期: 可重現之記錄,使確切影像可再生並了解其設計脈絡。
失敗時: 若文件感過繁,至少記終提示與種子——此二值已足以再現影像。
下列圖案出於多歷史時代,為古典紋飾核心詞彙:
ornament-style-color — 此技能之多彩夥伴;加調色板定義與色彩對結構之映射meditate — 專注注意與視覺想像練習可助紋飾組成review-web-design — 設計審查原則(視覺層次、節奏、平衡)直接適用於紋飾組成