Prompt:
In a world of code where images gleam,
A filter lives, like a vivid dream.
It takes a frame, with pixels bright,
And weaves a tale with colors' light.
At first, it sets its random seed,
To guide the path the colors lead.
Three values, alpha, start their flight,
In randomness, they find their might.
With lazy flag set to begin,
It seeds again, let change begin.
For each pixel in the frame's embrace,
A magic touch, a gentle grace.
The pixel's hues it does transform,
With alpha's touch, it does perform.
It wraps the value, casts anew,
Then XORs hues, a dance in view.
The directions now take their turn,
Alpha values twist and churn.
If rising high, they soon will slow,
And if too low, they'll upward grow.
Three values dance, they ebb and flow,
Within their bounds, they softly glow.
The filter weaves its silent spell,
In pixel art, where wonders dwell.