算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
chart-visualizer【设计与创意】Generate visual representations of BaZi charts including Four Pillars display, elemental radar charts, luck cycle timelines, and comprehensive report graphics.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
This skill creates beautiful, informative visual representations of BaZi analysis. It transforms complex astrological data into clear, engaging charts and diagrams that enhance understanding and retention.
Traditional vertical display with:
┌─────────────────────────────────────┐
│ 八字命盘 (BaZi Chart) │
│ │
│ Year Month Day Hour │
│ 年柱 月柱 日柱 时柱 │
├────────────────────────────────────┤
│ 己 丁 甲★ 癸 │
│ Earth Fire Wood Water │
│ 土 火 木 水 │
├────────────────────────────────────┤
│ 巳 丑 子 酉 │
│ Fire Earth Water Metal │
│ 火 土 水 金 │
└────────────────────────────────────┘
★ Day Master (日主): 甲木 Yang Wood
Pentagon showing elemental balance:
Wood (木)
★
/|\
/ | \
/ | \
/ | \
Water ----★---- Fire
(水) | (火)
\ | /
\ | /
\ | /
\|/
Metal--★--Earth
(金) (土)
Distribution:
木 Wood: 20%
火 Fire: 25%
土 Earth: 15%
金 Metal: 30%
水 Water: 10%
Horizontal timeline showing 10-year cycles:
Age: 3 13 23 33 43 53 63
│ │ │ │ │ │ │
Cycle: 戊寅 己卯 庚辰 辛巳 壬午 癸未 甲申
│Wood+ │Wood++ │Earth+ │Fire++ │Fire+++│Earth++│Metal+│
│ │ │ │ │▲ │ │
└───────┴───────┴───────┴───────┴───────┴───────┘
Current: 2026
Fire Cycle (High Energy)
Legend:
+ : Moderate influence
++ : Strong influence
+++: Peak influence
Shows generating and controlling cycles:
Fire 🔥
↑
生|
|
Wood 🌳 ────→ Earth ⛰️
↑ ↓
生| 生|
| |
Water 💧 ←──── Metal ⚡
生
Legend:
→ : 相生 (Generates)
⤬ : 相克 (Controls) - shown with dashed lines
Current year influences:
2026 - Year of 丙午
Fire Horse Year
┌─────────────────────┐
│ Spring | Summer │
│ 木旺 | 火旺 │
├───────────┼─────────┤
│ Winter | Autumn │
│ 水旺 | 金旺 │
└───────────┴─────────┘
Favorable Months: Feb, May, Nov
Challenging Months: Aug (excessive Fire)
Opportunities: March-June (growth period)
For terminal display and plain text documents:
For web display and documentation:
For professional reports:
Comprehensive document:
Element Colors (Traditional):
#2D5016 (forest green)#E63946 (cinnabar red)#D4A574 (earthy gold)#C0C0C0 (silver)#1B263B (deep blue)Background:
#FAFAFA (light mode), #0F0F0F (dark mode)#FFFFFF (light), #1A1A1A (dark)Accent:
#E63946 (red)#06D6A0 (jade green)#FFB703 (gold)Chinese Characters: Noto Serif SC (traditional feel) English Text: Inter (modern readability) Data/Numbers: JetBrains Mono (technical precision)
User: "Create a visual chart for my BaZi"
Agent: I'll create a comprehensive visual representation of your BaZi chart.
[Generates]:
1. Four Pillars display
2. Elements radar chart
3. Current luck cycle position
4. Element relationship diagram
[Saves to]: ./output/charts/[name]-visual-[date].md
User: "Show us a visual comparison of our compatibility"
Agent: I'll create a side-by-side visual comparison showing how your
charts interact.
[Generates]:
1. Both Four Pillars side-by-side
2. Overlaid element radar charts
3. Compatibility score wheel
4. Relationship dynamic diagram
[Saves to]: ./output/consultations/[nameA-nameB]-compatibility-visual-[date].md
User: "Show me my luck cycles over time"
Agent: I'll create a timeline showing your 10-year luck cycles from birth
to age 80, highlighting your current position and upcoming transitions.
[Generates]:
1. Full lifetime timeline
2. Current position marker
3. Element strength indicators
4. Transition period highlights
[Saves to]: ./output/charts/[name]-luck-timeline-[date].md
# Box drawing characters
┌─┬─┐ ╔═╦═╗ ╭─┬─╮
├─┼─┤ ╠═╬═╣ ├─┼─┤
└─┴─┘ ╚═╩═╝ ╰─┴─╯
# Arrows and symbols
→ ← ↑ ↓ ↔ ↕ ⇒ ⇐ ⇑ ⇓
★ ☆ ● ○ ◆ ◇ ■ □ ▲ △
# Charts
█ ▓ ▒ ░ ─ │ ┼ ╱ ╲
```mermaid
graph TD
A[Wood 木] -->|Generates| B[Fire 火]
B -->|Generates| C[Earth 土]
C -->|Generates| D[Metal 金]
D -->|Generates| E[Water 水]
E -->|Generates| A
E -.Controls.-> B
B -.Controls.-> D
D -.Controls.-> A
A -.Controls.-> C
C -.Controls.-> E
### Data Visualization (Python/JS)
For PNG/SVG generation:
```python
# Radar chart for elements
import matplotlib.pyplot as plt
import numpy as np
elements = ['Wood', 'Fire', 'Earth', 'Metal', 'Water']
values = [20, 25, 15, 30, 10] # Percentages
# Create radar chart...
./output/charts/
├── [name]-four-pillars-[date].txt # ASCII art chart
├── [name]-elements-radar-[date].svg # Element chart
├── [name]-luck-timeline-[date].png # Timeline graphic
├── [name]-full-report-[date].pdf # Complete PDF
└── [name]-visual-report-[date].md # Markdown with all visuals
./output/social/
├── [name]-chart-card-[date].png # Social media size (1200x630)
├── [name]-elements-share-[date].png # Square format (1080x1080)
└── [name]-insight-quote-[date].png # Quote card with visual
Visualization integrates with:
八字: 己巳 丁丑 甲子 癸酉
日主: 甲木 (Yang Wood)
Elements: 木█ 火██ 土███ 金██ 水███
Balance: Earth & Water strong, Wood weak
[See example report in documentation with:
Design Principle: "形简意赅,雅而不俗" - Simple in form, profound in meaning, elegant without vulgarity. Visualizations should clarify, not complicate.