Turbulence

class Turbulence(var baseFrequency: Vector2, var octaves: Int = 1, var seed: Double = 0.0, var fractalNoise: Boolean = false) : FilterPrimitive(source)

Perlin turbulence, like feTurbulence: fractalNoise sums noise, otherwise the absolute values of noise are summed. It computes the same noise as browsers for the same seed.

Constructors

Link copied to clipboard
constructor(baseFrequency: Vector2, octaves: Int = 1, seed: Double = 0.0, fractalNoise: Boolean = false)

Properties

Link copied to clipboard
var baseFrequency: Vector2
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val inputs: List<FilterInput>

the inputs, in the order of in and in2

Link copied to clipboard
Link copied to clipboard

the name of the result, null when only the next primitive uses it

Link copied to clipboard
Link copied to clipboard

the subregion that the result of the primitive is clipped to, null for the default subregion