SVG(HTML5), 128 126 124 120 bytes
#SVG(HTML5), 128 126 124 120 bytes#
(Thanks Wheat Wizard for saving 2 bytes by using .2
rather than 0.2
)
(Drawing triangles from right to left saves 2 bytes)
(Thanks Grimmy for saving 2 bytes by using a modified path)
(And reduced another 2 bytes by using a different starting point on the path)
<svg viewbox=-2,-2,4,4>
<circle r=1 />
<circle r=.3 fill=#FFF />
<path d=m2,3.4V0h-4v3.4l4,-6.8h-4 fill=#FFF />
<circle r=.2
<svg viewbox=-2,-2,4,4><circle r=1 /><circle r=.3 fill=#FFF /><path d=m2,3.4V0h-4v3.4l4,-6.8h-4 fill=#FFF /><circle r=.2
Rather than basing the SVG on wikipedia's vector image - which is drawn in a reasonable way, this solution draws:
- A black large circle
<circle r=1 />
- A smaller white circle
<circle r=.3 fill=#FFF />
- Three white triangles as a single continuous path
<path d=m2,3.4V0h-4v3.4l4,-6.8h-4 fill=#FFF />
- And a small black circle
<circle r=.2
Taking advantage of modern browsers forgiving interpretation which ignores unclosed tags (saved the final 9 bytes of /></svg>
)
This is the result:
And this is the same code with the path in yellow to demonstrate what's going on: