Code

Two new Texture filters added, Felt and Ink paint
authorivanlouette57 <ivanlouette57@users.sourceforge.net>
Sat, 14 Mar 2009 13:38:25 +0000 (13:38 +0000)
committerivanlouette57 <ivanlouette57@users.sourceforge.net>
Sat, 14 Mar 2009 13:38:25 +0000 (13:38 +0000)
share/filters/filters.svg

index b5406fb53339db8128c1832598b29940d80e3ca5..3c6f4e2f92a4cb09d34106977897872d5e13f9d6 100644 (file)
 <feComposite id="feComposite6010" in2="result8" operator="in" in="result2" result="fbSourceGraphic" />
 <feBlend blend="normal" id="feBlend4942" mode="multiply" />
 </filter>
+<filter x="-0.15" width="1.3" y="-0.15" height="1.3" inkscape:menu-tooltip="Felt like texture with color tubulence and slightly darker at the edges" inkscape:menu="Textures" inkscape:label="Felt" id="Felt0">
+<feGaussianBlur result="result1" in="SourceGraphic" stdDeviation="2" id="feGaussianBlur3770" />
+<feTurbulence result="result0" numOctaves="5" baseFrequency="0.050000000000000003" type="fractalNoise" id="feTurbulence3772" />
+<feDisplacementMap result="result2" scale="20" yChannelSelector="G" xChannelSelector="R" in="result1" in2="result0" id="feDisplacementMap3774" />
+<feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 " result="result3" id="feColorMatrix3776" />
+<feBlend blend="normal" mode="multiply" in="result3" result="result5" id="feBlend3778" in2="result2" />
+<feGaussianBlur result="result4" in="result3" stdDeviation="5" id="feGaussianBlur3780" />
+<feComposite result="result6" k1="1" k3="1" k2="0.5" in="result0" in2="result4" operator="arithmetic" id="feComposite3782" />
+<feComposite in="result6" in2="result0" operator="in" id="feComposite3784" />
+<feComposite id="feComposite3786" operator="arithmetic" k1="1.5" in="result3" k3="0" k2="0" />
+</filter>
+<filter id="Inkpaint0" inkscape:label="Ink paint" inkscape:menu="Textures" inkscape:menu-tooltip="Ink paint on paper with some turbulent color shift" height="1.3" y="-0.15000001" width="1.3" x="-0.15000001">
+<feColorMatrix id="feColorMatrix3738" result="result3" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 " />
+<feTurbulence id="feTurbulence3734" type="fractalNoise" baseFrequency="0.050000000000000003" numOctaves="4" result="result0" />
+<feDisplacementMap id="feDisplacementMap3736" in2="result0" in="result3" xChannelSelector="R" yChannelSelector="G" scale="25" result="result2" />
+<feBlend id="feBlend3740" result="result5" in="result2" mode="multiply" blend="normal" />
+<feGaussianBlur id="feGaussianBlur3742" stdDeviation="10" in="result2" result="result4" />
+<feComposite id="feComposite3744" operator="arithmetic" in2="result4" in="result0" k2="0" k3="0.5" k1="2" result="result6" />
+<feComposite id="feComposite3746" operator="in" in2="result5" in="result6" k1="1" k3="1" k2="1" result="result7" />
+</filter>
 </defs>
 </svg>