Expand description
Clairlune’s live wallpaper (PLAN.md sections 2 and 5.3): a saved scene plays behind the desktop icons.
Player keeps the frame between ticks with the incremental compositor
and writes only the rectangles that changed into a 0RGB buffer, which the
presenter copies to the screen as damage. The pixels come from the same
compositor as the still PNG, with the same palette, so the first live
frame (at the hero time) is the static wallpaper, except that on a GPU
the particles sit at their own sub-cell positions (Player::set_smooth)
instead of the cell grid.
Modules§
- gpu
- The GPU presenter (PLAN.md section 5.3): each monitor’s frame lives on the GPU as an index texture (one byte per pixel) with its 256-entry palette, and one full-screen triangle looks each pixel up. Only the rectangles the compositor reports are uploaded per frame.
Structs§
- Frame
Stats - What one frame cost, for budgets and logs.
- Player
- Plays one saved scene, one frame at a time.
Enums§
- Cover
Policy - What a maximized or full-screen app pauses.
Constants§
- SMOOTHNESS_
FPS - Live frame rates, by their names in Settings (PLAN.md section 5.3).