Skip to content

Instantly share code, notes, and snippets.

@seadog007
Created October 28, 2016 01:40
Show Gist options
  • Save seadog007/e11e5feaadecd36ac67e4eb2a7ad9a2a to your computer and use it in GitHub Desktop.
Save seadog007/e11e5feaadecd36ac67e4eb2a7ad9a2a to your computer and use it in GitHub Desktop.
The final flag design in MYP Design Class
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" height="402px" width="602px" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 602 402">
<defs>
<rect id="bgrect" y="0" x="0" height="400" width="200"/>
<rect id="stick" y="17" x="67.5" height="283" width="6"/>
<ellipse id="shield" cy="120" cx="64" rx="64" ry="120"/>
</defs>
<g fill="none">
<use xlink:href="#bgrect" fill="#D0011B"/>
<use x="200" xlink:href="#bgrect" fill="#F8E81C"/>
<use x="400" xlink:href="#bgrect" fill="#4990E2"/>
<g transform="translate(222 56)">
<g id="spear" stroke="#979797" fill="#FFF">
<g id="left">
<path id="Combined-Shape" transform="translate(13 20) rotate(-25) translate(-19 -20)" d="m13.261 39l-4.9997-18.765h9.9997l-5 18.698zm0-38.067l5 18.698h-9.9997l4.9997-18.631z"/>
<use xlink:href="#stick" transform="translate(78 158) rotate(-25) translate(-78 -158)"/>
</g>
<g id="right" transform="translate(15)">
<path id="Combined-Shape" transform="translate(127 20) rotate(25) translate(-120 -20)" d="m127.06 39l-5.06-18.764h10.06l-5.06 18.699zm-0.06-38.065l5 18.698h-10l5-18.633z"/>
<use xlink:href="#stick" transform="translate(62.7 158) rotate(25) translate(-62.7 -158)"/>
</g>
</g>
<g mask="url(#shield_mask)" transform="translate(14 25)">
<mask id="shield_mask" fill="white">
<use xlink:href="#shield"/>
</mask>
<use xlink:href="#shield" stroke="#979797" stroke-width="2" fill="#000"/>
<g fill="#FFF">
<rect transform="translate(63 67) rotate(-50) translate(-63 -67)" height="210" width="25" y="-38" x="50"/>
<rect transform="translate(63 67) rotate(50) translate(-63 -67)" height="210" width="25" y="-38" x="50"/>
<rect transform="translate(65 172) rotate(-50) translate(-65 -172)" height="210" width="25" y="67" x="52"/>
<rect transform="translate(65 172) rotate(50) translate(-65 -172)" height="210" width="25" y="67" x="52"/>
</g>
</g>
</g>
<polygon id="frame" stroke="#979797" points="0 0 600 0 600 400 0 400"/>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment