最近弈棋創作的點子大爆發,現在又有一個
发表于 : 2026年 8月 29日 09:43
都沒有時間吐槽大馬倉友和騎沈四傑的集體犯蠢了。

代码: 全选
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 780 320" width="720" height="320">
<style>
.bg { fill: #f8fafc; }
.title { font-family: system-ui, sans-serif; font-size: 16px; font-weight: bold; fill: #1e293b; text-anchor: middle; }
.subtitle { font-family: system-ui, sans-serif; font-size: 13px; fill: #64748b; text-anchor: middle; }
.poly1 { fill: rgba(37, 99, 235, 0.12); stroke: #2563eb; stroke-width: 2.5; stroke-linejoin: round; }
.poly2 { fill: rgba(5, 150, 105, 0.12); stroke: #059669; stroke-width: 2.5; stroke-linejoin: round; }
.label { font-family: system-ui, sans-serif; font-size: 14px; font-weight: bold; }
.lbl1 { fill: #1d4ed8; }
.lbl2 { fill: #047857; }
.vertex { fill: #ffffff; stroke-width: 2; }
.v1 { stroke: #2563eb; }
.v2 { stroke: #059669; }
</style>
<rect width="100%" height="100%" class="bg" rx="12"/>
<!-- 圖形一 -->
<g>
<text x="200" y="32" class="title">排列一:(5, 4, 2, 3, 1)</text>
<text x="200" y="52" class="subtitle">內角:60°, 120°, 120°, 120°, 120°</text>
<polygon points="85,230 335,230 235,56.8 135,56.8 60,186.7" class="poly1" />
<!-- 邊長標籤 -->
<text x="210" y="250" class="label lbl1" text-anchor="middle">5</text>
<text x="295" y="140" class="label lbl1" text-anchor="start">4</text>
<text x="185" y="48" class="label lbl1" text-anchor="middle">2</text>
<text x="88" y="115" class="label lbl1" text-anchor="end">3</text>
<text x="62" y="215" class="label lbl1" text-anchor="end">1</text>
<!-- 頂點 -->
<circle cx="85" cy="230" r="4" class="vertex v1"/>
<circle cx="335" cy="230" r="4" class="vertex v1"/>
<circle cx="235" cy="56.8" r="4" class="vertex v1"/>
<circle cx="135" cy="56.8" r="4" class="vertex v1"/>
<circle cx="60" cy="186.7" r="4" class="vertex v1"/>
</g>
<!-- 圖形二 -->
<g>
<text x="575" y="32" class="title">排列二:(3, 5, 2, 1, 4)</text>
<text x="575" y="52" class="subtitle">內角:60°, 120°, 120°, 120°, 120°</text>
<polygon points="550,270 700,270 575,53.5 475,53.5 450,96.8" class="poly2" />
<!-- 邊長標籤 -->
<text x="625" y="290" class="label lbl2" text-anchor="middle">3</text>
<text x="650" y="160" class="label lbl2" text-anchor="start">5</text>
<text x="525" y="45" class="label lbl2" text-anchor="middle">2</text>
<text x="453" y="70" class="label lbl2" text-anchor="end">1</text>
<text x="490" y="190" class="label lbl2" text-anchor="end">4</text>
<!-- 頂點 -->
<circle cx="550" cy="270" r="4" class="vertex v2"/>
<circle cx="700" cy="270" r="4" class="vertex v2"/>
<circle cx="575" cy="53.5" r="4" class="vertex v2"/>
<circle cx="475" cy="53.5" r="4" class="vertex v2"/>
<circle cx="450" cy="96.8" r="4" class="vertex v2"/>
</g>
</svg>