Skip to main content

Module auth_backdrop

Module auth_backdrop 

Expand description

Quiet current: the shared authentication artwork for the lock and greeter.

Four curved sheets catch a narrow band of light. Their folds move slowly, leaving the clock and credentials on calm ground. Everything is vector geometry and theme color; no image, texture, shader, or frame history is needed. Callers own the clock and request frames only while visible.

Constants§

STILL_SECONDS
The still composition the greeter and the lock screen both draw. Any phase is a valid frame; this one keeps the band of light clear of the credentials. Both hold it still, so lock and login look the same and neither repaints the output at a cadence of its own.

Functions§

draw
Paint an opaque authentication backdrop inside bounds.
needs_animation
Whether the caller should schedule animation frames for this backdrop.