diff --git a/kwin/build.sh b/kwin/build.sh index 8680a0a..fbe0f18 100755 --- a/kwin/build.sh +++ b/kwin/build.sh @@ -167,6 +167,7 @@ generate "pixelate" "Pixelate [Burn-My-Windows]" "Pixelate the window and generate "pixel-wheel" "Pixel Wheel [Burn-My-Windows]" "Pixelate the window and hide the pixels in a wheel-like fashion" generate "pixel-wipe" "Pixel Wipe [Burn-My-Windows]" "Pixelate the window and hide the pixels radially, starting from the pointer position" generate "portal" "Portal [Burn-My-Windows]" "Transfer your windows to other locations in space and time" +generate "rgbwarp" "RGB Warp [Burn-My-Windows]" "Red Blue and Green go bye bye" generate "tv" "TV Effect [Burn-My-Windows]" "Make windows close like turning off a TV" generate "tv-glitch" "TV Glitch [Burn-My-Windows]" "Make your windows close like a very glitchy old-school TV" generate "wisps" "Wisps [Burn-My-Windows]" "Let your windows be carried away to the realm of dreams by these little fairies" diff --git a/kwin/rgbwarp/config.ui b/kwin/rgbwarp/config.ui new file mode 100755 index 0000000..9f5ecda --- /dev/null +++ b/kwin/rgbwarp/config.ui @@ -0,0 +1,148 @@ + + + + + + BMWConfigForm + + + + 0 + 0 + 562 + 365 + + + + + + + Speed Red + + + Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter + + + + + + + 100 + + + 9999 + + + 100 + + + + + + + Brightness + + + Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter + + + + + + + Animation Time [ms] + + + Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter + + + + + + + 0.000000000000000 + + + 1.000000000000000 + + + 0.100000000000000 + + + 1.000000000000000 + + + + + + + Speed Green + + + Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter + + + + + + + Speed Blue + + + Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter + + + + + + + 1.000000000000000 + + + 0.100000000000000 + + + 1.000000000000000 + + + + + + + 0.000000000000000 + + + 1.000000000000000 + + + 0.100000000000000 + + + 1.000000000000000 + + + + + + + 0.000000000000000 + + + 1.000000000000000 + + + 0.100000000000000 + + + 1.000000000000000 + + + + + + + + diff --git a/kwin/rgbwarp/main.xml b/kwin/rgbwarp/main.xml new file mode 100755 index 0000000..fcaae22 --- /dev/null +++ b/kwin/rgbwarp/main.xml @@ -0,0 +1,27 @@ + + + + + + + + + 750 + + + 1.0 + + + 1.0 + + + 0.9 + + + 0.8 + + + \ No newline at end of file diff --git a/kwin/rgbwarp/onSettingsChanged.js b/kwin/rgbwarp/onSettingsChanged.js new file mode 100644 index 0000000..1395f06 --- /dev/null +++ b/kwin/rgbwarp/onSettingsChanged.js @@ -0,0 +1,11 @@ +// SPDX-FileCopyrightText: Simon Schneegans +// SPDX-License-Identifier: GPL-3.0-or-later + +// This part is automatically included in the effect's source during the build process. +// The code below is called whenever the user changes something in the configuration of +// the effect. + +effect.setUniform(this.shader, 'uBrightness', effect.readConfig('Brightness', 1.0)); +effect.setUniform(this.shader, 'uSpeedR', effect.readConfig('SpeedR', 1.0)); +effect.setUniform(this.shader, 'uSpeedG', effect.readConfig('SpeedG', 1.0)); +effect.setUniform(this.shader, 'uSpeedB', effect.readConfig('SpeedB', 1.0));