BlueGit

timfa kwin-marble

Files

kwin-marble / README.md

README.md

README.md 2.0 KiB Download Raw

Marble – KWin close effect (Burn-My-Windows variant)

NL – KWin 6 (Plasma 6) sluit-animatie: het venster vormt zich soepel om tot een kleine, glanzende knikker (inhoud blijft zichtbaar), blijft even stil liggen en valt daarna met echte zwaartekracht (constante versnelling vanuit stilstand) 1,5 schermhoogte omlaag, uit beeld.

EN – KWin 6 (Plasma 6) window-close animation: the window smoothly morphs into a small glossy marble (content stays visible), pauses, then drops off-screen under real gravity (constant acceleration from rest) for 1.5 screen heights.

filmstrip

Installatie / Installation

cp -r kwin6_effect_marble ~/.local/share/kwin/effects/

Then enable Marble [Burn-My-Windows variant] in System Settings → Window Management → Desktop Effects (it replaces the active close animation; only one can be active). Log out/in if it does not show up.

Instellingen / Settings

KeyDefaultMeaning
Duration300 msMorph into the marble
Pause600 msMarble rests before falling
Gravity4000 px/s²Fall acceleration; fall time = sqrt(2·1.5·screen height / g)

All durations are scaled by Plasma's global animation speed.

Licentie / License & attribution

GPL-3.0-or-later (see LICENSE). This effect is a modified derivative of the KWin port of Energize B from Burn-My-Windows by Simon Schneegans (GPL-3.0-or-later), whose KWin effect code also credits Martin Flöser and Vlad Zahorodnii. The common shader prelude and main.js structure come from that project; the marble shader, gravity fall and settings are new. Original copyright notices are kept in the source files. Modified by Tim Falken, 2026.

Source
1# Marble – KWin close effect (Burn-My-Windows variant)
2
3**NL** – KWin 6 (Plasma 6) sluit-animatie: het venster vormt zich soepel om tot een kleine,
4glanzende knikker (inhoud blijft zichtbaar), blijft even stil liggen en valt daarna met echte
5zwaartekracht (constante versnelling vanuit stilstand) 1,5 schermhoogte omlaag, uit beeld.
6
7**EN** – KWin 6 (Plasma 6) window-close animation: the window smoothly morphs into a small glossy
8marble (content stays visible), pauses, then drops off-screen under real gravity (constant
9acceleration from rest) for 1.5 screen heights.
10
11![filmstrip](docs/filmstrip.png)
12
13## Installatie / Installation
14
15```sh
16cp -r kwin6_effect_marble ~/.local/share/kwin/effects/
17```
18
19Then enable **Marble [Burn-My-Windows variant]** in System Settings → Window Management →
20Desktop Effects (it replaces the active close animation; only one can be active). Log out/in if
21it does not show up.
22
23## Instellingen / Settings
24
25| Key | Default | Meaning |
26|------------|---------|-----------------------------------------------------------------|
27| `Duration` | 300 ms | Morph into the marble |
28| `Pause` | 600 ms | Marble rests before falling |
29| `Gravity` | 4000 px/s² | Fall acceleration; fall time = sqrt(2·1.5·screen height / g) |
30
31All durations are scaled by Plasma's global animation speed.
32
33## Licentie / License & attribution
34
35GPL-3.0-or-later (see `LICENSE`). This effect is a modified derivative of the KWin port of
36**Energize B** from [Burn-My-Windows](https://github.com/Schneegans/Burn-My-Windows) by
37Simon Schneegans (GPL-3.0-or-later), whose KWin effect code also credits Martin Flöser and
38Vlad Zahorodnii. The common shader prelude and `main.js` structure come from that project; the
39marble shader, gravity fall and settings are new. Original copyright notices are kept in the
40source files. Modified by Tim Falken, 2026.