Skip to content

Instantly share code, notes, and snippets.

@higumachan
Created May 4, 2023 17:08
Show Gist options
  • Save higumachan/64f0ef160f023b23bb31f7d16483c244 to your computer and use it in GitHub Desktop.
Save higumachan/64f0ef160f023b23bb31f7d16483c244 to your computer and use it in GitHub Desktop.
chatgpt-svg
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100" width="200" height="100">
<!-- 線分AB -->
<line x1="10" y1="90" x2="90" y2="90" stroke="black" />
<text x="0" y="95" font-size="14">A</text>
<text x="95" y="95" font-size="14">B</text>
<!-- 線分CD -->
<line x1="110" y1="90" x2="190" y2="90" stroke="black" />
<text x="105" y="95" font-size="14">C</text>
<text x="195" y="95" font-size="14">D</text>
<!-- 線分EF -->
<line x1="20" y1="10" x2="180" y2="80" stroke="black" />
<text x="10" y="15" font-size="14">E</text>
<text x="185" y="85" font-size="14">F</text>
<!-- 交点G, H -->
<circle cx="40" cy="50" r="1" fill="black" />
<circle cx="140" cy="70" r="1" fill="black" />
<text x="45" y="55" font-size="14">G</text>
<text x="145" y="75" font-size="14">H</text>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment