summaryrefslogtreecommitdiffstats
path: root/examples/animatedbackground/BackgroundSwirls.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/animatedbackground/BackgroundSwirls.qml')
-rw-r--r--examples/animatedbackground/BackgroundSwirls.qml9
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/animatedbackground/BackgroundSwirls.qml b/examples/animatedbackground/BackgroundSwirls.qml
index c1c4dde..5321842 100644
--- a/examples/animatedbackground/BackgroundSwirls.qml
+++ b/examples/animatedbackground/BackgroundSwirls.qml
@@ -58,10 +58,12 @@ Item {
property color color2: Qt.rgba(0.8, 0.8, 1, 0.3)
gradient: Gradient {
- GradientStop { position: 0; color: colorTableItem.color1 }
+ GradientStop { position: 0.0; color: "transparent"}
+ GradientStop { position: 0.05; color: colorTableItem.color1 }
GradientStop { position: 0.3; color: "transparent" }
GradientStop { position: 0.7; color: "transparent" }
- GradientStop { position: 1; color: colorTableItem.color2 }
+ GradientStop { position: 0.95; color: colorTableItem.color2 }
+ GradientStop { position: 1.0; color: "transparent" }
}
visible: false
@@ -106,8 +108,7 @@ Item {
sizeVariation: 2
acceleration: AngleDirection { angle: 90; angleVariation: 360; magnitude: 20; }
- speed: AngleDirection { angle: -90; angleVariation: 360; magnitude: 10; }
-
+ velocity: AngleDirection { angle: -90; angleVariation: 360; magnitude: 10; }
}
}