mirror of
https://github.com/flickowoa/dotfiles.git
synced 2026-04-06 00:32:09 +02:00
bubbles
This commit is contained in:
@@ -151,15 +151,15 @@ void main() {
|
||||
fragColor = mix(fragColor, ubuf.colorC, ratioBottomC) * ubuf.qt_Opacity;
|
||||
}
|
||||
|
||||
// if(distance(vec2(x, y), vec2(ubuf.pointA_x, ubuf.pointA_y)) < 3) {
|
||||
// if(distance(vec2(x, y), vec2(ubuf.pointA_x, ubuf.pointA_y)) < 10) {
|
||||
// fragColor = vec4(0.0, 0.0, 0.0, 1.0) * ubuf.qt_Opacity;
|
||||
// }
|
||||
|
||||
// if(distance(vec2(x, y), vec2(ubuf.pointB_x, ubuf.pointB_y)) < 3) {
|
||||
// if(distance(vec2(x, y), vec2(ubuf.pointB_x, ubuf.pointB_y)) < 10) {
|
||||
// fragColor = vec4(0.0, 0.0, 0.0, 1.0) * ubuf.qt_Opacity;
|
||||
// }
|
||||
|
||||
// if(distance(vec2(x, y), vec2(ubuf.pointC_x, ubuf.pointC_y)) < 3) {
|
||||
// if(distance(vec2(x, y), vec2(ubuf.pointC_x, ubuf.pointC_y)) < 10) {
|
||||
// fragColor = vec4(0.0, 0.0, 0.0, 1.0) * ubuf.qt_Opacity;
|
||||
// }
|
||||
}
|
||||
@@ -92,7 +92,7 @@ Rectangle {
|
||||
|
||||
Behavior on x {
|
||||
NumberAnimation {
|
||||
duration: 300
|
||||
duration: 400
|
||||
easing.type: Easing.OutExpo
|
||||
}
|
||||
}
|
||||
@@ -210,7 +210,7 @@ Rectangle {
|
||||
function onValuesChanged() {
|
||||
let points = [[pointA_x, pointA_y, radiusA, pointA_vx, pointA_vy, angleA], [pointB_x, pointB_y, radiusB, pointB_vx, pointB_vy, angleB], [pointC_x, pointC_y, radiusC, pointC_vx, pointC_vy, angleC]];
|
||||
|
||||
strength = 0.1;
|
||||
strength = 0.3;
|
||||
// blur.radius = 50 * Cava.avg_t;
|
||||
// blur.samples = 16 + 16 * (1 - Cava.avg_t);
|
||||
// bright.brightness = 0 + 1 * Cava.avg_t;
|
||||
@@ -325,7 +325,7 @@ Rectangle {
|
||||
|
||||
point[0] = x;
|
||||
point[1] = y;
|
||||
point[2] = 30;
|
||||
point[2] = 50;
|
||||
point[3] = vx;
|
||||
point[4] = vy;
|
||||
point[5] = angle;
|
||||
|
||||
Reference in New Issue
Block a user