Options
All
  • Public
  • Public/Protected
  • All
Menu

Module exprs/blur2dloop

Index

Classes

Functions

Functions

blur2d

  • blur2d(horizontalExpr?: Float | number, verticalExpr?: Float | number, reps?: number, taps?: 5 | 9 | 13, samplerNum?: number): Blur2dLoop
  • creates a loop that runs a horizontal, then vertical gaussian blur (anything more than 1 pixel in the horizontal or vertical direction will create a ghosting effect, which is usually not desirable)

    Parameters

    • Optional horizontalExpr: Float | number

      float for the horizontal blur (1 pixel default)

    • Optional verticalExpr: Float | number

      float for the vertical blur (1 pixel default)

    • Optional reps: number

      how many passes (defaults to 2)

    • Optional taps: 5 | 9 | 13

      how many taps (defaults to 5)

    • Optional samplerNum: number

      change if you want to sample from a different channel and the outer loop has a different target

    Returns Blur2dLoop

Generated using TypeDoc