This commit is contained in:
flickowoa
2025-02-23 19:59:40 +05:30
parent d8db0bea57
commit 2cd8cdae14
2 changed files with 6 additions and 6 deletions

View File

@@ -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;
// }
}

View File

@@ -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;