BubbleGlass Screensaver
Transparent soap-bubble screensaver after inactivity. GDI+ per-pixel alpha: desktop stays live beneath. Instant dismiss on mouse move or keystroke.
Author: SilverAmd
A transparent, animated soap-bubble screensaver for the Windows desktop.
BubbleGlass shows colorful, iridescent soap bubbles directly above the live
Windows desktop after a period of inactivity. The desktop stays visible and
live underneath (per-pixel alpha layered window), and any keyboard or mouse
activity dismisses the saver instantly. Rendering targets smooth 60 FPS even
on large multi-monitor desktops.
Preview


Soap bubbles drifting over the live Windows desktop. The optional diagnostics
overlay shows real-time FPS, frame time, jitter and rendering performance.
Features
- Transparent overlay above the live desktop - wallpaper, windows and video
remain visible underneath.
- Smooth 60 FPS animation with QPC-based frame pacing and motion timing.
- Thin-film iridescent bubbles: rainbow interference arcs, membrane rim,
specular highlight, hotspot and a faint opposite-side reflection.
- Organic wobble, slowly changing interference colors, optional subtle shadow.
- Gradual spawning, size variation, natural drift and optional turbulence.
- Bubble-to-bubble collisions (lightly damped) plus wall bouncing or edge
wrapping.
- Configurable lifetime with an animated pop effect (expansion, flash,
expanding ring).
- Primary-monitor or full multi-monitor mode.
- Instant dismissal on keystroke, click, mouse wheel or mouse movement (with a
small movement threshold). Input is never swallowed.
- Fullscreen video playback (including fullscreen browser video) is intentionally
supported: bubbles remain above the live, moving video.
- Windows presentation mode is suppressed when reported by Windows. Other
fullscreen states are not automatically blocked to preserve video playback.
- Hidden automatically while the session is locked, disconnected or the
display is off.
- Optional on-screen performance diagnostics and Windhawk/DbgView logging.
- No permanent clock or date elements.
How It Works
BubbleGlass watches keyboard/mouse idle time. After the configured timeout it
creates a click-through, topmost layered window and composites
premultiplied-per-pixel-alpha bubbles over the desktop with
UpdateLayeredWindowIndirect. Bubbles are drawn with GDI+ into per-bubble
sprites that are cached and refreshed on a small time budget; only changed
areas are cleared and presented (dirty rectangles). Low-level input hooks run
on a dedicated thread and only while the saver is visible.
Performance
The renderer targets 60 FPS; actual speed depends on resolution, bubble count
and bubble sizes. The largest tuning levers are bubble count, maximum bubble
size, sprite refresh interval, iridescence and total desktop area.
Enable Show internal performance stats for the FPS / frame-time / jitter
overlay, and Log performance stats to Windhawk/DbgView for one summary
line per second. Every option (timeout, bubble count and size, motion,
physics, lifetime, pop, appearance, performance, diagnostics) is described in
the settings UI.
Usage
- Install and enable the BubbleGlass Screensaver mod.
- Configure the inactivity timeout and appearance.
- Leave the computer idle; BubbleGlass appears automatically.
- Move the mouse or press a key to dismiss it.
No separate .scr screensaver file is required.
Notes
- BubbleGlass intentionally keeps the Windows desktop visible underneath; it
is not a full-screen scene replacement like classic screensavers.
- The dismissing keystroke or click is also delivered to the focused
application (input is never swallowed).
- Fullscreen video is intentionally allowed. Automatic suppression of every
fullscreen app would also block this core feature. Windows presentation mode
is suppressed when detectable; gamepad-only input may not reset Windows idle
time, so fullscreen games are not guaranteed to suppress the saver.
- BubbleGlass never appears while the session is locked or display is off.
- Bubble sizes and the diagnostics overlay use raw pixels (no DPI scaling).
- "Span all monitors" uses the virtual-screen bounding rectangle; on
mixed-size or offset monitor layouts parts of that rectangle may not be on
any display.
Compatibility
Designed for Windows 11 and Windhawk. Runs as a dedicated Windhawk tool-mod
process - no .scr screensaver file and no winlogon injection. Rendering
uses standard GDI/GDI+ and layered-window APIs (no DirectX or GPU API).
Credits
Developed and tested by SilverAmd, with iterative performance analysis,
profiling and optimization focused on smooth frame pacing, large desktop
resolutions, multi-monitor support and low rendering overhead.