JezK
Edit File: turbulence_filters.svg
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" 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="210mm" height="297mm" id="svg1901" sodipodi:version="0.32" inkscape:version="0.92.0 r15304" sodipodi:docname="turbulence_filters.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape" version="1.1"> <defs id="defs1903"> <inkscape:perspective sodipodi:type="inkscape:persp3d" id="perspective2445" inkscape:vp_x="-53.333333 : 640 : 1" inkscape:vp_y="0 : 1066.6667 : 0" inkscape:vp_z="746.66667 : 640 : 1" inkscape:persp3d-origin="320 : 426.66667 : 1" /> <linearGradient inkscape:collect="always" id="linearGradient2393"> <stop style="stop-color:#ff00ff;stop-opacity:1;" offset="0" id="stop2395" /> <stop id="stop2401" offset="0.51618499" style="stop-color:#7b85ff;stop-opacity:1" /> <stop style="stop-color:#00ff78;stop-opacity:1" offset="1" id="stop2397" /> </linearGradient> <inkscape:perspective sodipodi:type="inkscape:persp3d" id="perspective7" inkscape:vp_x="-53.333333 : 640 : 1" inkscape:vp_y="0 : 1066.6667 : 0" inkscape:vp_z="746.66667 : 640 : 1" inkscape:persp3d-origin="320 : 426.66667 : 1" /> <filter id="filter2387" color-interpolation-filters="sRGB" inkscape:label="smudge"> <feTurbulence id="feTurbulence2389" type="fractalNoise" baseFrequency="0.1" numOctaves="1" seed="363" result="resultTurbulence" /> <feDisplacementMap id="feDisplacementMap2391" yChannelSelector="G" xChannelSelector="R" scale="52.334152334152343" in="SourceGraphic" in2="resultTurbulence" /> </filter> <linearGradient inkscape:collect="always" xlink:href="#linearGradient2393" id="linearGradient2399" x1="189" y1="564.36218" x2="281" y2="470.36218" gradientUnits="userSpaceOnUse" /> <linearGradient inkscape:collect="always" xlink:href="#linearGradient2393" id="linearGradient2405" gradientUnits="userSpaceOnUse" x1="189" y1="564.36218" x2="281" y2="470.36218" /> <filter id="filter2407" color-interpolation-filters="sRGB" inkscape:label="camo_holes"> <feTurbulence id="feTurbulence2409" type="fractalNoise" baseFrequency="0.1" numOctaves="1" seed="338" /> <feColorMatrix id="feColorMatrix2411" type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 10 -5 " result="result0" /> <feComposite id="feComposite2413" in="SourceGraphic" operator="in" in2="result0" /> </filter> <linearGradient inkscape:collect="always" xlink:href="#linearGradient2393" id="linearGradient2421" gradientUnits="userSpaceOnUse" x1="189" y1="564.36218" x2="281" y2="470.36218" /> <filter id="filter2423" color-interpolation-filters="sRGB" inkscape:label="add_noise"> <feTurbulence id="feTurbulence2425" type="fractalNoise" baseFrequency="0.1" numOctaves="2" seed="363" /> <feComposite id="feComposite2429" in2="SourceGraphic" operator="atop" /> </filter> <linearGradient inkscape:collect="always" xlink:href="#linearGradient2393" id="linearGradient2433" gradientUnits="userSpaceOnUse" x1="189" y1="564.36218" x2="281" y2="470.36218" /> <filter inkscape:label="cloudy" color-interpolation-filters="sRGB" id="filter2435"> <feTurbulence seed="363" numOctaves="5" baseFrequency="0.03" type="fractalNoise" id="feTurbulence2437" /> <feColorMatrix id="feColorMatrix2441" type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 4 -2 " /> <feComposite operator="atop" in2="SourceGraphic" id="feComposite2439" k1="0" k2="1" k3="1" k4="0" /> </filter> <linearGradient inkscape:collect="always" xlink:href="#linearGradient2393" id="linearGradient2449" gradientUnits="userSpaceOnUse" x1="189" y1="564.36218" x2="281" y2="470.36218" /> <linearGradient inkscape:collect="always" xlink:href="#linearGradient2393" id="linearGradient2451" gradientUnits="userSpaceOnUse" x1="189" y1="564.36218" x2="281" y2="470.36218" /> <filter inkscape:label="black_white_speckles" color-interpolation-filters="sRGB" id="filter2457"> <feTurbulence seed="363" numOctaves="2" baseFrequency="0.2" type="turbulence" id="feTurbulence2459" /> <feColorMatrix values="0.42 1.44 0.14 0 0 0.42 1.44 0.14 0 0 0.42 1.44 0.14 0 0 0 0 0 6 -2 " id="feColorMatrix2461" /> <feComposite operator="atop" in2="SourceGraphic" id="feComposite2463" /> </filter> <filter id="filter2465" color-interpolation-filters="sRGB" inkscape:label="crumbled_tin_foil"> <feTurbulence id="feTurbulence2467" type="fractalNoise" numOctaves="5" baseFrequency="0.05" seed="364" result="result0" /> <feDiffuseLighting id="feDiffuseLighting2469" surfaceScale="5" diffuseConstant="1" kernelUnitLength="1" result="result1"> <feDistantLight id="feDistantLight2471" azimuth="210" elevation="150" /> </feDiffuseLighting> <feSpecularLighting id="feSpecularLighting2475" in="result0" surfaceScale="5" specularConstant="1" specularExponent="13.83879781420765" kernelUnitLength="1" result="result3"> <feDistantLight id="feDistantLight2477" azimuth="210" elevation="150" /> </feSpecularLighting> <feComposite id="feComposite2479" in="result1" in2="SourceGraphic" operator="arithmetic" k1="1" k2="0" k3="0" result="result2" /> <feComposite id="feComposite2481" in="result2" in2="result3" operator="arithmetic" k1="0" k2="1" k3="1" k4="0" /> <feComposite id="feComposite2449" in2="SourceAlpha" operator="in" /> </filter> </defs> <sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.41781004" inkscape:cx="396.85039" inkscape:cy="561.25984" inkscape:document-units="px" inkscape:current-layer="layer1" gridtolerance="10000" inkscape:window-width="614" inkscape:window-height="688" inkscape:window-x="85" inkscape:window-y="25" showgrid="false" showguides="true" inkscape:guide-bbox="true" objecttolerance="1" guidetolerance="4" inkscape:snap-bbox="true" inkscape:window-maximized="0" /> <metadata id="metadata1906"> <rdf:RDF> <cc:Work rdf:about=""> <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> <dc:title>feTurbulence usage examples</dc:title> <dc:date>2008-01-11</dc:date> <dc:creator> <cc:Agent> <dc:title>Niko Kiirala <niko@kiirala.com></dc:title> </cc:Agent> </dc:creator> <dc:rights> <cc:Agent> <dc:title>Under cc-by-sa-3.0 license. Filter effect definitions may be freely used.</dc:title> </cc:Agent> </dc:rights> <dc:publisher> <cc:Agent> <dc:title>Inkscape (http://inkscape.org)</dc:title> </cc:Agent> </dc:publisher> <dc:identifier /> <dc:source /> <dc:relation /> <dc:language>en</dc:language> <dc:subject> <rdf:Bag> <rdf:li>feTurbulence</rdf:li> <rdf:li>filter effects</rdf:li> <rdf:li>example</rdf:li> </rdf:Bag> </dc:subject> <dc:coverage /> <dc:description>These are examples of effects attainable with feTurbulence filter primitive.</dc:description> <dc:contributor> <cc:Agent> <dc:title /> </cc:Agent> </dc:contributor> <cc:license rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" /> </cc:Work> <cc:License rdf:about="http://creativecommons.org/licenses/by-sa/3.0/"> <cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction" /> <cc:permits rdf:resource="http://creativecommons.org/ns#Distribution" /> <cc:requires rdf:resource="http://creativecommons.org/ns#Notice" /> <cc:requires rdf:resource="http://creativecommons.org/ns#Attribution" /> <cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> <cc:requires rdf:resource="http://creativecommons.org/ns#ShareAlike" /> </cc:License> </rdf:RDF> </metadata> <g inkscape:label="Taso 1" inkscape:groupmode="layer" id="layer1" style="opacity:1"> <path sodipodi:type="star" style="display:inline;overflow:visible;visibility:visible;opacity:1;fill:url(#linearGradient2399);fill-opacity:1;fill-rule:evenodd;marker:none;marker-start:none;marker-mid:none;marker-end:none;filter:url(#filter2387);enable-background:accumulate" id="path2385" sodipodi:sides="5" sodipodi:cx="239" sodipodi:cy="505.36218" sodipodi:r1="155.55385" sodipodi:r2="71.064049" sodipodi:arg1="1.0380944" sodipodi:arg2="1.666413" inkscape:flatsided="false" inkscape:rounded="0" inkscape:randomized="0" d="m 318,639.36218 -85.78456,-63.26055 -96.24467,45.8023 33.65548,-101.13456 -73.301817,-77.38043 106.584787,0.75597 50.94166,-93.62604 32.21754,101.60176 104.78549,19.51636 -86.67325,62.03738 z" transform="matrix(1.0666667,0,0,1.0666667,-50.878384,-317.7747)" /> <path transform="matrix(1.0666667,0,0,1.0666667,311.78828,-317.7747)" d="m 318,639.36218 -85.78456,-63.26055 -96.24467,45.8023 33.65548,-101.13456 -73.301817,-77.38043 106.584787,0.75597 50.94166,-93.62604 32.21754,101.60176 104.78549,19.51636 -86.67325,62.03738 z" inkscape:randomized="0" inkscape:rounded="0" inkscape:flatsided="false" sodipodi:arg2="1.666413" sodipodi:arg1="1.0380944" sodipodi:r2="71.064049" sodipodi:r1="155.55385" sodipodi:cy="505.36218" sodipodi:cx="239" sodipodi:sides="5" id="path2403" style="display:inline;overflow:visible;visibility:visible;opacity:1;fill:url(#linearGradient2405);fill-opacity:1;fill-rule:evenodd;marker:none;marker-start:none;marker-mid:none;marker-end:none;filter:url(#filter2407);enable-background:accumulate" sodipodi:type="star" /> <path transform="matrix(1.0666667,0,0,1.0666667,-50.878384,23.558635)" d="m 318,639.36218 -85.78456,-63.26055 -96.24467,45.8023 33.65548,-101.13456 -73.301817,-77.38043 106.584787,0.75597 50.94166,-93.62604 32.21754,101.60176 104.78549,19.51636 -86.67325,62.03738 z" inkscape:randomized="0" inkscape:rounded="0" inkscape:flatsided="false" sodipodi:arg2="1.666413" sodipodi:arg1="1.0380944" sodipodi:r2="71.064049" sodipodi:r1="155.55385" sodipodi:cy="505.36218" sodipodi:cx="239" sodipodi:sides="5" id="path2419" style="display:inline;overflow:visible;visibility:visible;opacity:1;fill:url(#linearGradient2421);fill-opacity:1;fill-rule:evenodd;marker:none;marker-start:none;marker-mid:none;marker-end:none;filter:url(#filter2423);enable-background:accumulate" sodipodi:type="star" /> <path sodipodi:type="star" style="display:inline;overflow:visible;visibility:visible;opacity:1;fill:url(#linearGradient2433);fill-opacity:1;fill-rule:evenodd;marker:none;marker-start:none;marker-mid:none;marker-end:none;filter:url(#filter2435);enable-background:accumulate" id="path2431" sodipodi:sides="5" sodipodi:cx="239" sodipodi:cy="505.36218" sodipodi:r1="155.55385" sodipodi:r2="71.064049" sodipodi:arg1="1.0380944" sodipodi:arg2="1.666413" inkscape:flatsided="false" inkscape:rounded="0" inkscape:randomized="0" d="m 318,639.36218 -85.78456,-63.26055 -96.24467,45.8023 33.65548,-101.13456 -73.301817,-77.38043 106.584787,0.75597 50.94166,-93.62604 32.21754,101.60176 104.78549,19.51636 -86.67325,62.03738 z" transform="matrix(1.0666667,0,0,1.0666667,311.78828,23.558635)" /> <path sodipodi:type="star" style="display:inline;overflow:visible;visibility:visible;opacity:1;fill:url(#linearGradient2449);fill-opacity:1;fill-rule:evenodd;marker:none;marker-start:none;marker-mid:none;marker-end:none;filter:url(#filter2457);enable-background:accumulate" id="path2445" sodipodi:sides="5" sodipodi:cx="239" sodipodi:cy="505.36218" sodipodi:r1="155.55385" sodipodi:r2="71.064049" sodipodi:arg1="1.0380944" sodipodi:arg2="1.666413" inkscape:flatsided="false" inkscape:rounded="0" inkscape:randomized="0" d="m 318,639.36218 -85.78456,-63.26055 -96.24467,45.8023 33.65548,-101.13456 -73.301817,-77.38043 106.584787,0.75597 50.94166,-93.62604 32.21754,101.60176 104.78549,19.51636 -86.67325,62.03738 z" transform="matrix(1.0666667,0,0,1.0666667,-50.878384,364.89197)" /> <path transform="matrix(1.0666667,0,0,1.0666667,311.78828,364.89197)" d="m 318,639.36218 -85.78456,-63.26055 -96.24467,45.8023 33.65548,-101.13456 -73.301817,-77.38043 106.584787,0.75597 50.94166,-93.62604 32.21754,101.60176 104.78549,19.51636 -86.67325,62.03738 z" inkscape:randomized="0" inkscape:rounded="0" inkscape:flatsided="false" sodipodi:arg2="1.666413" sodipodi:arg1="1.0380944" sodipodi:r2="71.064049" sodipodi:r1="155.55385" sodipodi:cy="505.36218" sodipodi:cx="239" sodipodi:sides="5" id="path2447" style="display:inline;overflow:visible;visibility:visible;opacity:1;fill:url(#linearGradient2451);fill-opacity:1;fill-rule:evenodd;marker:none;marker-start:none;marker-mid:none;marker-end:none;filter:url(#filter2465);enable-background:accumulate" sodipodi:type="star" /> <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:38.40000153px;line-height:125%;font-family:'Bitstream Vera Sans';-inkscape-font-specification:'Bitstream Vera Sans';text-align:end;writing-mode:lr-tb;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.06666672px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" x="-16.668652" y="112.77187" id="text2483"><tspan sodipodi:role="line" id="tspan2485" x="-16.668646" y="112.77187" style="stroke-width:1.06666672px">smudge</tspan></text> <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:38.40000153px;line-height:125%;font-family:'Bitstream Vera Sans';-inkscape-font-specification:'Bitstream Vera Sans';text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.06666672px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" x="813.26752" y="111.70312" id="text2487"><tspan sodipodi:role="line" id="tspan2489" x="813.26752" y="111.70312" style="stroke-width:1.06666672px">camo_holes</tspan></text> <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:38.40000153px;line-height:125%;font-family:'Bitstream Vera Sans';-inkscape-font-specification:'Bitstream Vera Sans';text-align:end;writing-mode:lr-tb;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.06666672px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" x="-16.66865" y="468.14343" id="text2491"><tspan sodipodi:role="line" id="tspan2493" x="-16.668648" y="468.14343" style="stroke-width:1.06666672px">add_noise</tspan></text> <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:38.40000153px;line-height:125%;font-family:'Bitstream Vera Sans';-inkscape-font-specification:'Bitstream Vera Sans';text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.06666672px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" x="813.26752" y="469.21219" id="text2495"><tspan sodipodi:role="line" id="tspan2497" x="813.26752" y="469.21219" style="stroke-width:1.06666672px">cloudy</tspan></text> <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:38.40000153px;line-height:125%;font-family:'Bitstream Vera Sans';-inkscape-font-specification:'Bitstream Vera Sans';text-align:end;writing-mode:lr-tb;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.06666672px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" x="-16.74365" y="810.60565" id="text2499"><tspan sodipodi:role="line" id="tspan2501" x="-16.743649" y="810.60565" style="stroke-width:1.06666672px">black_white_speckles</tspan></text> <text xml:space="preserve" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:38.40000153px;line-height:125%;font-family:'Bitstream Vera Sans';-inkscape-font-specification:'Bitstream Vera Sans';text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.06666672px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" x="815.38629" y="810.34314" id="text2503"><tspan sodipodi:role="line" id="tspan2505" x="815.38629" y="810.34314" style="stroke-width:1.06666672px">crumbled_tin_foil</tspan></text> </g> </svg>