SVG/Attribut/type (feTurbulence)

Aus SELFHTML-Wiki
< SVG‎ | Attribut
Wechseln zu: Navigation, Suche

Das type-Attribut legt den Typ der Turbulenz fest.

Erlaubte Werte
  • fractalNoise
  • turbulence:
Standardwert

noStitch

anwendbar auf
Präsentationsattribut

nein

mit CSS animierbar

ja

Beispiel
<filter id="Turb1" filterUnits="objectBoundingBox" 
         x="0%" y="0%" width="100%" height="100%">
   <feTurbulence type="turbulence" 
                 baseFrequency="0.05" 
                 numOctaves="2"/>
</filter>
<filter id="Turb2" filterUnits="objectBoundingBox" 
        x="0%" y="0%" width="100%" height="100%">
  <feTurbulence type="turbulence" 
                baseFrequency="0.1" 
                numOctaves="2"/>
</filter>
<filter id="Turb3" filterUnits="objectBoundingBox" 
         x="0%" y="0%" width="100%" height="100%">
  <feTurbulence type="turbulence" 
                baseFrequency="0.05" 
                numOctaves="8"/>
</filter>
<filter id="Turb4" filterUnits="objectBoundingBox" 
         x="0%" y="0%" width="100%" height="100%">
  <feTurbulence type="fractalNoise" 
                baseFrequency="0.1" 
                numOctaves="4"/>
</filter>
<filter id="Turb5" filterUnits="objectBoundingBox" 
         x="0%" y="0%" width="100%" height="100%">
  <feTurbulence type="fractalNoise" 
                baseFrequency="0.4" 
                numOctaves="4"/>
</filter>
<filter id="Turb6" filterUnits="objectBoundingBox" 
        x="0%" y="0%" width="100%" height="100%">
  <feTurbulence type="fractalNoise" 
                baseFrequency="0.1" 
                numOctaves="1"/>
</filter>


Siehe auch

Weblinks