apply

Function apply 

Source
pub fn apply(
    offset_x: f64,
    offset_y: f64,
    sx: f64,
    sy: f64,
    base_frequency_x: f64,
    base_frequency_y: f64,
    num_octaves: u32,
    seed: i32,
    stitch_tiles: bool,
    fractal_noise: bool,
    dest: ImageRefMut<'_>,
)
Expand description

Applies a turbulence filter.

dest image pixels will have an unpremultiplied alpha.

  • offset_x and offset_y indicate filter region offset.
  • sx and sy indicate canvas scale.