]> git.xonotic.org Git - xonotic/mediasource.git/commitdiff
Improve pong ball glow
authorMattia Basaglia <mattia.basaglia@gmail.com>
Fri, 13 Feb 2015 20:45:36 +0000 (21:45 +0100)
committerMattia Basaglia <mattia.basaglia@gmail.com>
Fri, 13 Feb 2015 20:45:36 +0000 (21:45 +0100)
gfx/minigames/pong/ball-glow.svg
gfx/minigames/pong/ball.svg

index 06cae65178c1445d3c28e924ba87120f949e500f..9ae912a456eef1ab8c263fcaac923b1874e2a7f8 100644 (file)
@@ -7,28 +7,84 @@
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:svg="http://www.w3.org/2000/svg"
    xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   width="128"
-   height="128"
-   viewBox="0 0 33.866666 33.866668"
+   width="256"
+   height="256"
+   viewBox="0 0 67.733332 67.733336"
    id="svg4213"
    version="1.1"
    inkscape:version="0.91+devel r"
    sodipodi:docname="ball-glow.svg">
   <defs
      id="defs4215">
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient4283">
+      <stop
+         style="stop-color:#000000;stop-opacity:1"
+         offset="0"
+         id="stop4285" />
+      <stop
+         id="stop4293"
+         offset="0.45348388"
+         style="stop-color:#000000;stop-opacity:1" />
+      <stop
+         style="stop-color:#5d5d5d;stop-opacity:1"
+         offset="0.50684988"
+         id="stop4353" />
+      <stop
+         id="stop4291"
+         offset="0.56021583"
+         style="stop-color:#e5e5e5;stop-opacity:1" />
+      <stop
+         style="stop-color:#efeeee;stop-opacity:1"
+         offset="0.57869291"
+         id="stop4295" />
+      <stop
+         id="stop4325"
+         offset="0.62643135"
+         style="stop-color:#808080;stop-opacity:1" />
+      <stop
+         style="stop-color:#585858;stop-opacity:1"
+         offset="0.66904253"
+         id="stop4331" />
+      <stop
+         style="stop-color:#393939;stop-opacity:1"
+         offset="0.73230112"
+         id="stop4327" />
+      <stop
+         id="stop4323"
+         offset="0.90542269"
+         style="stop-color:#111111;stop-opacity:1" />
+      <stop
+         style="stop-color:#000000;stop-opacity:1"
+         offset="1"
+         id="stop4287" />
+    </linearGradient>
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4283"
+       id="radialGradient4321"
+       cx="33.866669"
+       cy="1.5858044e-14"
+       fx="33.866669"
+       fy="1.5858044e-14"
+       r="22.13051"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.3441937,0,0,1.3441937,-11.656693,0)" />
     <filter
        inkscape:collect="always"
        style="color-interpolation-filters:sRGB"
        id="filter4349"
-       x="-0.084"
-       width="1.168"
-       y="-0.084"
-       height="1.168">
+       x="-0.024"
+       width="1.048"
+       y="-0.024"
+       height="1.048">
       <feGaussianBlur
          inkscape:collect="always"
-         stdDeviation="0.5926667"
+         stdDeviation="0.59495384"
          id="feGaussianBlur4351" />
     </filter>
   </defs>
@@ -40,8 +96,8 @@
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
      inkscape:zoom="5.6"
-     inkscape:cx="42.557852"
-     inkscape:cy="77.150875"
+     inkscape:cx="73.909802"
+     inkscape:cy="177.29245"
      inkscape:document-units="px"
      inkscape:current-layer="layer2"
      showgrid="false"
      inkscape:window-height="1180"
      inkscape:window-x="50"
      inkscape:window-y="-3"
-     inkscape:window-maximized="1" />
+     inkscape:window-maximized="1"
+     inkscape:snap-bbox="true"
+     inkscape:bbox-nodes="true"
+     inkscape:snap-bbox-edge-midpoints="true" />
   <metadata
      id="metadata4218">
     <rdf:RDF>
      inkscape:label="bg"
      inkscape:groupmode="layer"
      id="layer1"
-     transform="translate(0,-263.13332)"
+     transform="translate(0,-229.26665)"
      style="display:inline"
      sodipodi:insensitive="true">
     <rect
-       style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:4.23333359;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:8.46666813;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
        id="rect4766"
-       width="33.866669"
-       height="33.866669"
+       width="67.733345"
+       height="67.733345"
        x="0"
-       y="263.13333" />
+       y="229.26665" />
     <circle
-       style="opacity:1;fill:#000000;fill-opacity:1;stroke:#ff6600;stroke-width:0.26458335;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       style="opacity:1;fill:#000000;fill-opacity:1;stroke:#ff6600;stroke-width:0.52916676;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
        id="path4764"
-       cx="16.933334"
-       cy="280.06665"
-       r="8.4666672" />
+       cx="33.866673"
+       cy="263.1333"
+       r="16.933336" />
   </g>
   <g
      inkscape:groupmode="layer"
      id="layer2"
      inkscape:label="layer"
-     style="display:inline">
+     style="display:inline;opacity:1"
+     transform="translate(0,33.866667)">
     <circle
-       r="8.4666672"
-       cy="280.06665"
-       cx="16.933334"
+       r="29.747692"
+       cy="-2.8421709e-14"
+       cx="33.866669"
        id="circle4768"
-       style="opacity:1;fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:1.58750002;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter4349)"
-       transform="translate(0,-263.13332)" />
-    <circle
-       transform="translate(0,-263.13332)"
-       style="opacity:1;fill:none;fill-opacity:0.38308459;stroke:#ffffff;stroke-width:0.396875;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-       id="circle4880"
-       cx="16.933334"
-       cy="280.06665"
-       r="8.4666672" />
+       style="opacity:1;fill:url(#radialGradient4321);fill-opacity:1;stroke:none;stroke-width:2.17206383;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter4349)" />
   </g>
 </svg>
index 36c65cc4b3dc82c93c2e5f9c64dd1778d6a4d009..36b7218eb53753b9775d57518dea215344385cba 100644 (file)
@@ -10,9 +10,9 @@
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   width="64"
-   height="64"
-   viewBox="0 0 16.933333 16.933334"
+   width="256"
+   height="256"
+   viewBox="0 0 67.733332 67.733336"
    id="svg8453"
    version="1.1"
    inkscape:version="0.91+devel r"
      borderopacity="1.0"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
-     inkscape:zoom="1.979899"
-     inkscape:cx="67.547591"
-     inkscape:cy="-1.6668785"
+     inkscape:zoom="3.959798"
+     inkscape:cx="125.42367"
+     inkscape:cy="115.93114"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
      showgrid="false"
      inkscape:label="Layer 1"
      inkscape:groupmode="layer"
      id="layer1"
-     transform="translate(0,-280.06665)">
+     transform="translate(0,-229.26665)">
     <g
        id="g4212"
-       transform="matrix(0.25000003,0,0,0.25000003,3.001983e-6,222.74998)">
+       transform="matrix(0.58540224,0,0,0.58540224,14.063174,109.09448)">
       <circle
          r="26.917656"
          cy="263.13333"