Skip to content

Instantly share code, notes, and snippets.

@alyssamichelle
Created April 9, 2020 19:25
Show Gist options
  • Save alyssamichelle/8f5d6e688830536db56328cf602f2e23 to your computer and use it in GitHub Desktop.
Save alyssamichelle/8f5d6e688830536db56328cf602f2e23 to your computer and use it in GitHub Desktop.
Mallet for an SVG Gong
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" viewBox="200 200 320 320" width="100px" height="100px" xml:space="preserve">
<title>Gong Stick</title>
<g xmlns="http://www.w3.org/2000/svg">
<path style="fill:#eaeaea;" d="M328.703,276.316l-26.78-26.78c-2.408-2.408-5.055-4.487-7.881-6.235 c9.057,10.462,14.55,24.096,14.55,39.02c0,32.952-26.713,59.665-59.665,59.665c-0.213,0-0.422-0.014-0.634-0.016l7.379,7.379 c8.152,8.153,18.991,12.642,30.52,12.642c11.528,0,22.367-4.489,30.52-12.642l11.991-11.993 c8.153-8.152,12.643-18.991,12.643-30.52C341.344,295.306,336.854,284.467,328.703,276.316z"/>
<path style="fill:#eaeaea;" d="M308.591,282.32c0-14.924-5.492-28.557-14.55-39.02c-6.74-4.169-14.516-6.407-22.639-6.407 c-11.528,0-22.368,4.49-30.519,12.642l-11.994,11.992c-8.152,8.153-12.642,18.991-12.642,30.52s4.49,22.367,12.642,30.52 l19.402,19.402c0.212,0.002,0.421,0.016,0.634,0.016C281.878,341.985,308.591,315.271,308.591,282.32z"/>
</g>
<path id="head" xmlns="http://www.w3.org/2000/svg" style="fill:#C6C5CB; stroke: black; stroke-width: 10px;" d="M335.875,327.733l-11.616,11.616c-13.357,13.357-35.011,13.357-48.367,0l-25.941-25.941 c-13.357-13.357-13.357-35.011,0-48.367l11.616-11.616c13.357-13.357,35.011-13.357,48.367,0l25.941,25.941 C349.232,292.722,349.232,314.378,335.875,327.733z"/>
<path id="stick" xmlns="http://www.w3.org/2000/svg" style="fill:#FF3502; stroke: black; stroke-width: 10px;" d="M496.671,500.144L496.671,500.144c-5.664,5.664-14.848,5.664-20.511,0L320.12,344.106 c-0.17-0.17-0.17-0.445,0-0.616l19.896-19.896c0.17-0.17,0.445-0.17,0.616,0l156.04,156.039 C502.335,485.298,502.335,494.481,496.671,500.144z"/>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment