GhostingFilter class final

Preserves a fading afterimage of recent glyphs.

This is intended for text-oriented terminal scenes where a light phosphor trail or motion ghost can add atmosphere without smearing backgrounds. Only visible glyph cells persist; empty source cells can briefly inherit a dimmed copy of the previous rendered glyph.

Inheritance

Constructors

GhostingFilter({double persistence = 0.45, double currentBoost = 0.08})

Properties

currentBoost → double
Optional brightness boost for currently visible glyphs.
final
hashCode → int
The hash code for this object.
no setterinherited
persistence → double
Color retention applied to trailing glyphs.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply(Buffer source, Buffer target, double dt) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited