Skip to content

Instantly share code, notes, and snippets.

@grafst
Last active March 25, 2021 22:22
Show Gist options
  • Save grafst/cf08317d9b5890417695e161dc3fc6f0 to your computer and use it in GitHub Desktop.
Save grafst/cf08317d9b5890417695e161dc3fc6f0 to your computer and use it in GitHub Desktop.
Cevi Foulard
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="220">
<title>Neckerchief</title>
<defs>
<filter id="f1" x="0" y="0" width="200%" height="200%">
<feOffset result="offOut" in="SourceAlpha"></feOffset>
<feGaussianBlur result="blurOut" in="offOut" stdDeviation="6"></feGaussianBlur>
<feBlend in="SourceGraphic" in2="blurOut" mode="normal"></feBlend>
</filter>
</defs>
<path fill="white" id="outline" d="M20,20 L380,20 L200,200 z" stroke="none" filter="url(#f1)"></path>
<path fill="white" id="neckerchief_display_left_border" d="M20,20 L55,20 L200,165 L200,200 z"></path>
<path fill="red" id="neckerchief_display_left" d="M55,20 L200,20 L200,165 z"></path>
<path fill="red" id="neckerchief_display_right" d="M200,20 L345,20 L200,165 z"></path>
<path fill="white" id="neckerchief_display_right_border" d="M345,20 L380,20 L200,200 L200,165 z"></path>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment