Skip to content

Instantly share code, notes, and snippets.

@qpliu
Last active January 8, 2024 04:14
Show Gist options
  • Save qpliu/c5e8f54e5fe2ce5b6382cf572fe35f10 to your computer and use it in GitHub Desktop.
Save qpliu/c5e8f54e5fe2ce5b6382cf572fe35f10 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="300" height="300" viewBox="-1.2 -1.2 2.4 2.4">
<polygon points="0,-1 -0.982489670310512,0.18631706237792972 0.982489670310512,0.18631706237792972" fill="yellow" stroke="none"/>
<polygon points="0,1 -0.982489670310512,0.18631706237792972 0.982489670310512,0.18631706237792972" fill="#8f8" stroke="none"/>
<circle cx="0" cy="0" r="1" stroke="black" stroke-width="0.01" fill="none"/>
<circle cx="0" cy="0" r="0.02" stroke="black" stroke-width="0.01" fill="black"/>
<line x1="-0.982489670310512" y1="0.18631706237792972" x2="0.982489670310512" y2="0.18631706237792972" stroke="blue" stroke-width="0.02"/>
<line x1="-0.982489670310512" y1="0.18631706237792972" x2="0" y2="-0.26759424091792117" stroke="red" stroke-width="0.02"/>
<line x1="-0.982489670310512" y1="0.18631706237792972" x2="0.778724635913847" y2="-0.6273658752441406" stroke="red" stroke-width="0.01"/>
<line x1="0.982489670310512" y1="0.18631706237792972" x2="0.778724635913847" y2="-0.6273658752441406" stroke="red" stroke-width="0.01"/>
<circle cx="0" cy="-0.26759424091792117" r="0.04" fill="red"/>
<circle cx="-0.4403052029850431" cy="0.18631706237792972" r="0.04" fill="red"/>
<circle cx="0.4403052029850431" cy="0.18631706237792972" r="0.04" fill="red"/>
<polygon points="-0.8806104059700862,-0.26759424091792117 0.8806104059700862,-0.26759424091792117 0,0.6402283656737806" fill="none" stroke="black" stroke-width="0.01"/>
</svg>
@qpliu
Copy link
Author

qpliu commented Jan 8, 2024

I overlooked the triangle with the middle point as a vertex and sides passing through another point and extending to the perimeter of the circle, so this is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment