算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
ornament-style-color【设计与创意】Design polychromatic ornamental patterns grounded in Alexander Speltz's classical ornament taxonomy. Builds on monochrome structural analysis by adding period-authentic color palettes, color-to-motif mapping, and rendering styles suited to painted, illuminated, and glazed ornament. Use when creating decorative designs where color is integral to the t…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
結合藝術史色彩知識與 AI 輔助影像生成,設計多彩紋飾模式。本技能於 ornament-style-mono 之結構基礎上加時代真確之色彩調色板、色彩和諧原則,及適於繪、彩飾與釉之紋飾渲染風格。
擇時代並辨其特徵色彩語言。紋飾之色從非任意——每時代皆有調色板,根於可得顏料、文化象徵與材料上下文。
Historical Ornament Periods with Characteristic Palettes:
┌───────────────────┬─────────────────┬────────────────────────────────────────────────────────┐
│ Period │ Date Range │ Characteristic Palette │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Egyptian │ 3100–332 BCE │ Lapis blue, gold/ochre, terracotta red, black, white │
│ │ │ Mineral pigments: flat, unmodulated, high contrast │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Greek │ 800–31 BCE │ Terracotta red, black, ochre, white, blue (rare) │
│ │ │ Pottery palette; architectural color largely lost │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Roman │ 509 BCE–476 CE │ Pompeii red, ochre yellow, black, white, verdigris │
│ │ │ Fresco palette: warm earth tones, strong red dominant │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Byzantine │ 330–1453 CE │ Gold (dominant), deep blue, crimson, purple, white │
│ │ │ Mosaic tesserae: jewel tones, gold ground, luminous │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Islamic │ 7th–17th c. │ Turquoise/cobalt blue, white, gold, emerald green │
│ │ │ Tile glazes: luminous, saturated, geometric precision │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Romanesque │ 1000–1200 CE │ Ochre, rust red, deep green, dark blue, cream │
│ │ │ Manuscript and stone: earthy, muted, mineral-derived │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Gothic │ 1150–1500 CE │ Ultramarine blue, ruby red, emerald green, gold, white │
│ │ │ Stained glass + illumination: saturated, luminous │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Renaissance │ 1400–1600 CE │ Rich earth tones, azure blue, gold leaf, warm greens │
│ │ │ Oil and fresco: naturalistic, modulated, subtle │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Baroque/Rococo │ 1600–1780 CE │ Pastel pink, powder blue, cream, gold, soft green │
│ │ │ (Rococo) vs deep burgundy, gold, forest green (Baroque) │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Art Nouveau │ 1890–1910 CE │ Sage green, dusty rose, amber/gold, muted purple, │
│ │ │ teal. Organic, muted, nature-derived palette │
└───────────────────┴─────────────────┴────────────────────────────────────────────────────────┘
預期: 已明辨時代及其特徵調色板與材料上下文。
失敗時: 若用戶請求未在表中之時代,以 WebSearch 查「[period] ornament color palette pigments」研究其色彩語言並構建同等條目。歷史顏料可得性乃時代真確色彩之可靠指南。
將歷史調色板譯為具角色之具體 3-5 色集。
色彩角色框架:
Color Distribution (60/30/10 Rule):
┌──────────────┬────────────┬──────────────────────────────────────────┐
│ Role │ Proportion │ Function │
├──────────────┼────────────┼──────────────────────────────────────────┤
│ Dominant │ ~60% │ Ground color or primary structural color │
│ Secondary │ ~30% │ Motif fill or supporting structural color │
│ Accent │ ~10% │ Highlights, details, focal points │
│ (Optional) │ — │ Additional accent or metallic (gold) │
│ (Optional) │ — │ Background / ground if different from │
│ │ │ dominant │
└──────────────┴────────────┴──────────────────────────────────────────┘
色彩和諧法:
例調色板定義:
預期: 3-5 個命名色之調色板,附角色、比例、和諧法與情緒之定義。
失敗時: 若色彩擇取感任意,錨於時代之材料上下文。問:「物理上何顏料可得?」與「地基材料為何?」(金箔於羊皮紙、釉於陶、塗料於灰泥)。材料約束並真確化調色板。
了解所擇圖案之結構文法,以色彩對結構之映射擴展單色分析。
行 ornament-style-mono 步驟二之同結構分析:
加 色彩對結構之映射:
例映射:
Islamic Star Pattern:
- Star forms: turquoise (dominant)
- Interlocking geometric ground: white (secondary)
- Star center details: cobalt blue (accent)
- Outline/border: gold (detail)
→ Color follows form strictly — each geometric shape is one flat color
預期: 含每結構元素之明確色彩賦予之結構描述。
失敗時: 若色彩對結構之映射不明,以 WebSearch 查「[period] [motif] ornament color」研究歷史範例,觀色彩實際如何用。歷史紋飾幾乎恆以色彩澄清結構,非遮之。
為 Z-Image 生成構建文字提示,納入調色板與渲染風格。
提示範本:
[Rendering style] of [motif name] ornament in the [period] style,
[composition type], [color palette description],
[color mood], [structural details from Step 3],
[application context], [additional qualifiers]
色彩適合之渲染風格:
painted ornament — 筆觸可見、不透明色、壁畫或油畫品質illuminated manuscript — 金箔、豐富寶石色調、羊皮紙地基glazed ceramic tile — 光面、平色、精準邊緣stained glass — 半透色、形間黑色鉛條watercolor illustration — 透明渲染、軟邊、紙可見enamel on metal — 硬光面色、金屬地基mosaic — 小石片、片間可見縫、發光printed poster — 平色區、新藝術或工藝美術品質提示中之色彩描述:
例提示:
glazed ceramic tile ornament in the Islamic style, geometric star pattern, turquoise blue and white with cobalt blue accents and gold outlines, vivid saturated colors, repeating tessellation, Iznik tilework qualityilluminated manuscript border in the Gothic style, vine and trefoil ornament, ultramarine blue and ruby red with gold leaf details on cream vellum, rich jewel tones, vertical panel, medieval book of hours qualitywatercolor illustration of Art Nouveau floral ornament, whiplash curves with lily motif, sage green and dusty rose with amber gold accents, muted organic tones, vertical panel, Alphonse Mucha influence預期: 25-50 字之提示,指明渲染風格、圖案、時代、組成與明確色彩資訊。
失敗時: 若提示生不合調色板之色,將色彩描述前置(置於圖案描述之前)。Z-Image 對較早之提示權重較重。亦可命名特定十六進色或著名顏料名(群青、朱紅、赭)。
擇解析度與生成參數。彩紋飾常自比單色多之推理步驟受益。
Resolution by Application (same as ornament-style-mono):
┌────────────────────┬─────────────────────┬────────────────────────────────┐
│ 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 color work │
└────────────────────┴─────────────────────┴────────────────────────────────┘
steps 設為 10-12 用於彩工(色彩細節與調色板準確自更多步受益)shift 設為 3(預設)random_seed: true,或為可重現以特定種子設 random_seed: false預期: 完整參數集。注意彩紋飾通常需 10+ 步以求調色板忠實。
失敗時: 若不確定,用 1024x1024 於 10 步。此乃多數彩紋飾上下文之可靠預設。
呼 Z-Image MCP 工具以製紋飾。
mcp__hf-mcp-server__gr1_z_image_turbo_generate,附:
prompt:步驟四構之提示resolution:步驟五steps:步驟五(建議 10-12)shift:步驟五random_seed:步驟五seed:若 random_seed 為假則具體種子預期: 含可辨紋飾形式與可見色之生成影像。色彩或不完美匹指定調色板——此於評估中處理。
失敗時: 若 MCP 工具不可用,驗 hf-mcp-server 已配(見 configure-mcp-server 或 troubleshoot-mcp-connection)。若生成影像全抽象,提示需更具體之結構語言——回步驟四。若色全錯,將色名前置。
對五準則評估生成影像,以色彩特定評估擴展單色標尺。
Polychromatic Ornament Evaluation Rubric:
┌─────────────────────┬───────────────────────────────────────────────────────┐
│ Criterion │ Evaluation Questions │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 1. Palette Match │ Do the colors in the image approximate the specified │
│ │ palette? Are the named colors present? Are there │
│ │ unwanted colors that break the palette? │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 2. Color │ Does the color distribution roughly follow the │
│ Distribution │ 60/30/10 allocation? Is the dominant color actually │
│ │ dominant? Does the accent appear sparingly? │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 3. Rendering Style │ Does the image look like the specified rendering │
│ │ style? Does a "glazed tile" look glossy and flat? │
│ │ Does "illuminated manuscript" show gold and vellum? │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 4. Period Accuracy │ Would this design be recognizable as belonging to │
│ │ the specified period? Are motifs period-appropriate? │
│ │ Does the color usage match period conventions? │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 5. Form-Color │ Does color clarify the ornamental structure or │
│ Balance │ obscure it? Can you "read" the motifs through the │
│ │ color? Does color follow form as intended? │
└─────────────────────┴───────────────────────────────────────────────────────┘
預期: 含具體觀察之評分。彩紋飾較單色難控——首次生成於調色板匹與分配上預期得「足」分。
失敗時: 若多數準則評為弱,提示或須根本重構。常見修正:將色名移至提示之最前、用較少色、明指地基色、增步至 12。
透過針對性迭代精煉設計或接受結果。
色彩特定迭代策略:
迭代預算: 每設計概念限 3 迭代。彩迭代常較單色需更多提示調整。
預期: 1-2 迭代後色彩忠實改進。完美調色板匹不可能——求「可辨於正確色族」。
失敗時: 若迭代不收斂,調色板或對模型過於具體而難可靠重現。簡化至更少色(3 而非 5)、用更廣之色描述(「暖土色調」而非具體十六進值),或接受最近近似。
為可重現與參考建終設計之完整記錄。
預期: 可重現之記錄,附完整色彩文件含十六進近似與調色板分析。
失敗時: 若完整文件感過繁,至少記終提示、種子及預期 vs 實際色之表。此可於未來迭代中再現並調整調色板。
ornament-style-mono 修結構ornament-style-mono — 單色基礎技能;色彩不合作時恆為備用,並建議為加色前了解圖案結構之首步review-web-design — 色彩理論原則(對比、和諧、節奏)直接適用於紋飾色彩組成meditate — 專注注意與色彩視覺化練習可助調色板開發