Learn R Programming

gridSVG (version 1.4-2)

feTurbulence: Create an image using the Perlin turbulence function.

Description

This filter primitive creates an image using the Perlin turbulence function. It allows the synthesis of artificial textures like clouds or marble.

Usage

feTurbulence(baseFrequency = 0, numOctaves = 1,
             seed = 1, stitchTiles = FALSE,
             type = c("turbulence", "fractalNoise"), ...)

Arguments

baseFrequency
The base frequency (frequencies) parameter(s) for the noise function. If a two element numeric vector is provided, the first number represents a base frequency in the X direction and the second value represents a base frequency in the Y direct
numOctaves
The numOctaves parameter for the noise function.
seed
The starting number for the pseudo random number generator.
stitchTiles
If stitchTiles is FALSE, no attempt it made to achieve smooth transitions at the border of tiles which contain a turbulence function. Sometimes the result will show clear discontinuities at the tile borders.

If <

type
Indicates whether the filter primitive should perform a noise or turbulence function.
...
Further arguments to be passed onto fe.

Value

  • An fe.turbulence object.

Details

For more information about this primitive, consult the reference to the SVG specification.

References

http://www.w3.org/TR/SVG/filters.html#feTurbulenceElement

See Also

filterEffect, fe.