Skip to main content

Module effect

Module effect 

Source
Expand description

Screen-space effects that mutate a Buffer after widgets have rendered.

Use these with crate::components::layer::LayerStack or apply them manually to a ratatui::prelude::Buffer for full-screen post-processing.

Structs§

ChromaticAberration
Slightly offset R/G/B channels.
Fade
Fade every cell toward a solid colour by opacity.
Glitch
Randomly swap symbols / colours inside a region.
MatrixRain
Classic “Matrix” green rain effect across an area.
Scanlines
Dim every N-th row to simulate CRT scanlines.
Slide
Shift the rendered content horizontally or vertically.
Transition
An effect wrapper that tracks a normalised progress value (0..1).
Typewriter
Reveal characters one by one based on elapsed time.

Traits§

ScreenEffect
Trait for buffer post-processing effects.