Code

cleaned up by Tavmjong
authorbuliabyak <buliabyak@users.sourceforge.net>
Fri, 18 Sep 2009 13:58:03 +0000 (13:58 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Fri, 18 Sep 2009 13:58:03 +0000 (13:58 +0000)
share/examples/turbulence_filters.svg

index e8c8a5fb23272f6c7e8709471c3cfd744b25b6ee..e50f897b18c98b58462d2fdb8b671d854c562eea 100644 (file)
        inkscape:persp3d-origin="300 : 400 : 1" />
     <filter
        id="filter2387"
+       color-interpolation-filters="sRGB"
        inkscape:label="smudge">
       <feTurbulence
          id="feTurbulence2389"
          type="fractalNoise"
-         baseFrequency="0.10000000000000001"
+         baseFrequency="0.1"
          numOctaves="1"
          seed="363"
-         in="SourceAlpha" />
+        result="resultTurbulence" />
       <feDisplacementMap
          id="feDisplacementMap2391"
          yChannelSelector="G"
          xChannelSelector="R"
          scale="52.334152334152343"
-         in="SourceGraphic" />
+         in="SourceGraphic"
+        in2="resultTurbulence" />
     </filter>
     <linearGradient
        inkscape:collect="always"
        y2="470.36218" />
     <filter
        id="filter2407"
+       color-interpolation-filters="sRGB"
        inkscape:label="camo_holes">
       <feTurbulence
          id="feTurbulence2409"
-         in="SourceAlpha"
          type="fractalNoise"
-         baseFrequency="0.10000000000000001"
+         baseFrequency="0.1"
          numOctaves="1"
          seed="338" />
       <feColorMatrix
        y2="470.36218" />
     <filter
        id="filter2423"
+       color-interpolation-filters="sRGB"
        inkscape:label="add_noise">
       <feTurbulence
          id="feTurbulence2425"
          type="fractalNoise"
-         baseFrequency="0.10000000000000001"
+         baseFrequency="0.1"
          numOctaves="2"
-         seed="363"
-         in="SourceAlpha" />
+         seed="363" />
       <feComposite
          id="feComposite2429"
          in2="SourceGraphic"
        y2="470.36218" />
     <filter
        inkscape:label="cloudy"
+       color-interpolation-filters="sRGB"
        id="filter2435">
       <feTurbulence
-         in="SourceAlpha"
          seed="363"
          numOctaves="5"
-         baseFrequency="0.029999999999999999"
+         baseFrequency="0.03"
          type="fractalNoise"
          id="feTurbulence2437" />
       <feColorMatrix
        y2="470.36218" />
     <filter
        inkscape:label="black_white_speckles"
+       color-interpolation-filters="sRGB"
        id="filter2457">
       <feTurbulence
-         in="SourceAlpha"
          seed="363"
          numOctaves="2"
-         baseFrequency="0.20000000000000004"
+         baseFrequency="0.2"
          type="turbulence"
          id="feTurbulence2459" />
       <feColorMatrix
     </filter>
     <filter
        id="filter2465"
+       color-interpolation-filters="sRGB"
        inkscape:label="crumbled_tin_foil">
       <feTurbulence
          id="feTurbulence2467"
          type="fractalNoise"
          numOctaves="5"
-         baseFrequency="0.050000000000000003"
+         baseFrequency="0.05"
          seed="364"
          result="result0" />
       <feDiffuseLighting