Flump

How Flump bends a live Mac window

Flump makes a window you drag behave like a material. The window itself never changes. Here is what happens in the second or so that you are dragging it.

1. Notice the drag

Flump watches for a window being moved by its title bar. A click, or a flick shorter than the effect, does nothing. Windows that cannot be drawn exactly are skipped: full-screen, see-through, protected from capture, or showing a sheet.

2. Take a live picture

As the window starts moving, Flump asks ScreenCaptureKit for a live picture of that window and of what is behind it. This is why it needs the Screen Recording permission. The frames stay in memory only.

3. Simulate the material

The window picture is laid over a grid that follows your pointer with a little physics, so the corners lag behind the part you are holding. Each material moves in its own way, and the paid unlock lets you tune how far, how fast and how bouncy it goes.

4. Draw it with Metal

A Metal shader draws the deformed window over the backdrop in a transparent overlay, at your display's refresh rate. Fire, melt, pixels and glitch are mostly shader work on top of that mesh.

5. Settle and step aside

When you let go, the material settles, the overlay fades, and capture stops. The real window is exactly where you dropped it, untouched, so tiling tools and Spaces never notice anything happened.

No Accessibility permission, event taps or synthetic input are involved, only public Apple APIs.

See Flump in action and get it from the Mac App Store.

More notes