sudara/alonetone

View on GitHub
app/assets/images/flags/pr.svg

Summary

Maintainability
Test Coverage
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 45 30">
<rect fill="#ED0000" width="45" height="30"/>
<path stroke="#FFF" stroke-width="6" d="M0,9 h 45 m -45,12 h 45"/>
<path fill="#0050F0" d="M0,0L25.98076,15L0,30z"/>
<comment>the star is in the center of gravity of the triangle, so the x-pos is irrational (tan(30 deg) * 15)</comment>
<g fill="#FFF" transform="translate(8.6602540378443864676372317075294,15) scale(5)">
<g id="cone">
<polygon id="triangle" points="0,0 0,1 .5,1" transform="translate(0,-1) rotate(18)"/>
<use xlink:href="#triangle" transform="scale(-1,1)"/>
</g>
<use xlink:href="#cone" transform="rotate(72)"/>
<use xlink:href="#cone" transform="rotate(-72)"/>
<use xlink:href="#cone" transform="rotate(144)"/>
<use xlink:href="#cone" transform="rotate(-144)"/>
</g>
</svg>