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": {
"type": "ascii-standard",
"settings": {
"cellSize": 8,
"colorMode": "color",
"characters": " .:-=+*#%@"
}
}
}Effect Categories
ASCII
Convert images to ASCII character art
ascii-standardStandard
Classic ASCII characters
ascii-denseDense
Dense block characters
ascii-minimalMinimal
Minimal character set
ascii-blocksBlocks
Block characters
ascii-brailleBraille
Braille dot patterns
ascii-technicalTechnical
Technical/geometric characters
ascii-matrixMatrix
Matrix-style digits
ascii-hatchingHatching
Crosshatch line patterns
Dither
Error diffusion dithering algorithms
dither-floyd-steinbergFloyd-Steinberg
Classic error diffusion algorithm
dither-atkinsonAtkinson
Bill Atkinson's algorithm from the original Macintosh
dither-stuckiStucki
Modified Jarvis algorithm
dither-sierraSierra
Three-row Sierra filter
dither-jarvis-judice-ninkeJarvis-Judice-Ninke
High quality error diffusion
dither-burkesBurkes
Simplified Stucki algorithm
dither-sierra-liteSierra Lite
Faster single-row Sierra
dither-two-row-sierraTwo-Row Sierra
Two-row Sierra variant
Halftone
Authentic print halftone simulation
halftone-monoMono
Single-ink print halftone with authentic dot patterns
halftone-cmykCMYK
Four-color process printing simulation
Glitch
Digital distortion and corruption effects
glitch-vhsVHS
Analog VHS tape distortion with scanlines and RGB shift
glitch-digitalDigital
Digital block corruption with pixelation and line tears
glitch-weirdWeird
Chaotic slicing with color flashes and local warping
glitch-chromaticChromatic
RGB channel separation with rotated patterns
Art
Painterly and sketch artistic filters
art-kuwaharaKuwahara
Anisotropic painterly filter with edge-aware brush strokes
art-crosshatchCrosshatch
Classic engraving/woodcut style cross-hatching
art-lineartLine Art
Clean ink outline with edge detection
art-engravingEngraving
Currency-style parallel lines with variable thickness
art-stippleStipple
Dot-based pointillism with density variation
Discovering Effects
Use the discovery API to get all available effects and their parameters:
GET https://efecto.app/api/v1/effects
# Get parameters for a specific effect
GET https://efecto.app/api/v1/effects/ascii-standard/settingsCommon Parameters
Most effects share these common parameters:
| Parameter | Type | Description |
|---|---|---|
enabled | boolean | Enable/disable the effect |
intensity | number (0-1) | Effect strength/blend |