SVG <feTurbulence> Filter

You are Here:

What is <feTurbulence> Filter?

The <feTurbulence> SVG filter primitive creates an image which is the synthesis of artificial textures like marble or clouds. The output image will fill the entire filter primitive subregion.

Example

HTML Online Editor
<!DOCTYPE html> <html lang="en-US"> <body> <svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"> <filter id="point"> <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="2" result="turbulence"/> <feDisplacementMap in2="turbulence" in="SourceGraphic" scale="50" xChannelSelector="R" yChannelSelector="G"/> </filter> <circle cx="75" cy="75" r="70" style="fill:green;filter: url(#point)"/> </svg> </body> </html>

Attributes Value

AttributeExplanation
baseFrequencySpecifies the base frequency parameter for the noise function.
numOctavesSpecifies the number of octaves for the noise function.
seedSpecifies the starting number for the pseudo random number generator.
stitchTilesSpecifies how the Perlin Noise tiles behave at the border.
typeSpecifies whether the filter primitive should perform a noise or turbulence function.

Reminder

Hi Developers, we almost covered 91% of SVG Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in SVG.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author