summaryrefslogtreecommitdiffstats
path: root/examples/declarative/particles/Trails/Turbulence.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/particles/Trails/Turbulence.qml')
-rw-r--r--examples/declarative/particles/Trails/Turbulence.qml91
1 files changed, 0 insertions, 91 deletions
diff --git a/examples/declarative/particles/Trails/Turbulence.qml b/examples/declarative/particles/Trails/Turbulence.qml
deleted file mode 100644
index 536d996032..0000000000
--- a/examples/declarative/particles/Trails/Turbulence.qml
+++ /dev/null
@@ -1,91 +0,0 @@
-import QtQuick 2.0
-import Qt.labs.particles 2.0
-
-Rectangle{
- width: 360
- height: 540
- color: "#222222"
- id: root
- Image{
- source: "content/candle.png"
- anchors.bottom: parent.bottom
- anchors.horizontalCenter: parent.horizontalCenter
- anchors.bottomMargin: -8
- anchors.horizontalCenterOffset: 2
- }
- ParticleSystem{
- id: ps
- }
- Turbulence{
- system: ps
- height: (parent.height / 2)
- width: parent.width / 2
- x: parent. width / 4
- anchors.fill: parent
- strength: 16
- frequency: 64
- gridSize: 16
- }
- ColoredParticle{
- particles: ["smoke"]
- system: ps
- image: "content/particle.png"
- color: "#111111"
- colorVariation: 0
- additive: 1
- }
- ColoredParticle{
- particles: ["flame"]
- system: ps
- image: "content/particle.png"
- color: "#ff400f"
- colorVariation: 0.1
- additive: 1
- }
- TrailEmitter{
- anchors.centerIn: parent
- system: ps
- particle: "flame"
-
- particlesPerSecond: 120
- particleDuration: 1200
- particleSize: 20
- particleEndSize: 10
- particleSizeVariation: 10
- acceleration: PointVector{ y: -40 }
- speed: AngleVector{ angle: 270; magnitude: 20; angleVariation: 22; magnitudeVariation: 5 }
- }
- FollowEmitter{
- id: smoke1
- width: root.width
- height: 232
- system: ps
- particle: "smoke"
- follow: "flame"
-
- particlesPerParticlePerSecond: 4
- particleDuration: 2400
- particleDurationVariation: 400
- particleSize: 16
- particleEndSize: 8
- particleSizeVariation: 8
- acceleration: PointVector{ y: -40 }
- speed: AngleVector{ angle: 270; magnitude: 40; angleVariation: 22; magnitudeVariation: 5 }
- }
- FollowEmitter{
- id: smoke2
- width: root.width
- height: 232
- system: ps
- particle: "smoke"
- follow: "flame"
-
- particlesPerParticlePerSecond: 1
- particleDuration: 2400
- particleSize: 36
- particleEndSize: 24
- particleSizeVariation: 8
- acceleration: PointVector{ y: -40 }
- speed: AngleVector{ angle: 270; magnitude: 40; angleVariation: 22; magnitudeVariation: 5 }
- }
-}