use Position;
/// Trait for patterns that can compute per-cell alpha values based on position.
///
/// This trait allows patterns to transform the global animation alpha into
/// position-specific alpha values, creating spatial effects like fades, sweeps,
/// and transitions. Each implementation defines how the pattern reveals or hides
/// cells based on their coordinates.