Reference

Effects

Efecto provides a variety of visual effects to transform your images, videos, and 3D content. Effects are applied in real-time using WebGL shaders.

Using Effects

Set the effect in your state object with a type and optional settings:

effect.json
{
  "effect": {
    "type": "ascii-standard",
    "settings": {
      "cellSize": 8,
      "colorMode": "color",
      "characters": " .:-=+*#%@"
    }
  }
}

Effect Categories

ASCII

Convert images to ASCII character art

ascii-standard

Standard

Classic ASCII characters

ascii-dense

Dense

Dense block characters

ascii-minimal

Minimal

Minimal character set

ascii-blocks

Blocks

Block characters

ascii-braille

Braille

Braille dot patterns

ascii-technical

Technical

Technical/geometric characters

ascii-matrix

Matrix

Matrix-style digits

ascii-hatching

Hatching

Crosshatch line patterns

Dither

Error diffusion dithering algorithms

dither-floyd-steinberg

Floyd-Steinberg

Classic error diffusion algorithm

dither-atkinson

Atkinson

Bill Atkinson's algorithm from the original Macintosh

dither-stucki

Stucki

Modified Jarvis algorithm

dither-sierra

Sierra

Three-row Sierra filter

dither-jarvis-judice-ninke

Jarvis-Judice-Ninke

High quality error diffusion

dither-burkes

Burkes

Simplified Stucki algorithm

dither-sierra-lite

Sierra Lite

Faster single-row Sierra

dither-two-row-sierra

Two-Row Sierra

Two-row Sierra variant

Halftone

Authentic print halftone simulation

halftone-mono

Mono

Single-ink print halftone with authentic dot patterns

halftone-cmyk

CMYK

Four-color process printing simulation

Glitch

Digital distortion and corruption effects

glitch-vhs

VHS

Analog VHS tape distortion with scanlines and RGB shift

glitch-digital

Digital

Digital block corruption with pixelation and line tears

glitch-weird

Weird

Chaotic slicing with color flashes and local warping

glitch-chromatic

Chromatic

RGB channel separation with rotated patterns

Art

Painterly and sketch artistic filters

art-kuwahara

Kuwahara

Anisotropic painterly filter with edge-aware brush strokes

art-crosshatch

Crosshatch

Classic engraving/woodcut style cross-hatching

art-lineart

Line Art

Clean ink outline with edge detection

art-engraving

Engraving

Currency-style parallel lines with variable thickness

art-stipple

Stipple

Dot-based pointillism with density variation

Discovering Effects

Use the discovery API to get all available effects and their parameters:

discovery.sh
GET https://efecto.app/api/v1/effects

# Get parameters for a specific effect
GET https://efecto.app/api/v1/effects/ascii-standard/settings

Common Parameters

Most effects share these common parameters:

ParameterTypeDescription
enabledbooleanEnable/disable the effect
intensitynumber (0-1)Effect strength/blend