summaryrefslogtreecommitdiff
path: root/examples/spheres/web/icon.svg
blob: 7ed8bf861bcd5ada0045f4dd45e36114c17dc65f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
  <!-- spheres' icon: the figure-eight orbit, its three bodies glowing in
       their colours. Full-bleed, so it also works masked. Rendered to the
       PNGs beside it with: resvg -w N -h N icon.svg icon-N.png -->
  <defs>
    <filter id="glow" x="-1" y="-1" width="3" height="3">
      <feGaussianBlur stdDeviation="14"/>
    </filter>
    <linearGradient id="orbit" gradientUnits="userSpaceOnUse" x1="76" y1="0" x2="436" y2="0">
      <stop offset="0" stop-color="#ffcc59"/>
      <stop offset="0.5" stop-color="#ff73d1"/>
      <stop offset="1" stop-color="#66d9ff"/>
    </linearGradient>
  </defs>
  <rect width="512" height="512" fill="#05070d"/>
  <!-- the figure eight -->
  <path d="M256 256 C 300 196 436 176 436 256 C 436 336 300 316 256 256 C 212 196 76 176 76 256 C 76 336 212 316 256 256 Z"
        fill="none" stroke="url(#orbit)" stroke-width="10" opacity="0.8"/>
  <!-- the bodies: glow, then core -->
  <g filter="url(#glow)">
    <circle cx="398" cy="205" r="30" fill="#66d9ff"/>
    <circle cx="140" cy="307" r="30" fill="#ff73d1"/>
    <circle cx="256" cy="256" r="30" fill="#ffcc59"/>
  </g>
  <circle cx="398" cy="205" r="15" fill="#e6f8ff"/>
  <circle cx="140" cy="307" r="15" fill="#ffe6f6"/>
  <circle cx="256" cy="256" r="15" fill="#fff4dc"/>
</svg>