apply_effect
Apply visual effects to an ASCII art frame or selection. Adjust colors, characters, brightness, contrast, hue, saturation, or apply invert, grayscale, or scatter distortions.
Instructions
Apply a visual effect to the current frame or selection. Effects modify colors and/or characters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effect | Yes | Type of effect to apply | |
| brightness | No | Brightness adjustment (-100 to 100) | |
| contrast | No | Contrast adjustment (-100 to 100) | |
| hue | No | Hue shift in degrees (-180 to 180) | |
| saturation | No | Saturation adjustment (-100 to 100) | |
| lightness | No | Lightness adjustment (-100 to 100) | |
| colorMap | No | Map of old colors to new colors (e.g., {"#FF0000": "#00FF00"}) | |
| characterMap | No | Map of old characters to new (e.g., {"@": "#", "*": "+"}) | |
| targetPalette | No | Target color palette for automatic remapping | |
| scatterAmount | No | Maximum pixel displacement for scatter effect | |
| frameIndex | No | Frame to apply effect to (defaults to current) | |
| applyToSelection | No | Only apply effect within current selection | |
| affectForeground | No | Apply color effects to foreground colors | |
| affectBackground | No | Apply color effects to background colors |