2 import Qt.labs.particles 1.0
5 property string skip: "May contain random numbers"
6 width: 640; height: 480; color: "black"
8 Particles { id:particlesAneverEmitting
9 y:60; width: 260; height:30; source: "star.png";
10 lifeSpan:1000; count: 50; angle:70; angleDeviation:36;
11 velocity:30; velocityDeviation:10; emissionRate: 0
12 ParticleMotionWander { yvariance:5; xvariance:30; pace:100 }
14 Particles { id:particlesA //snowy particles from the top
15 y:0; width: 260; height:30; source: "star.png";
16 lifeSpan:1000; count: 50; angle:70; angleDeviation:36;
17 velocity:30; velocityDeviation:10; emissionRate: 10
18 ParticleMotionWander { yvariance:5; xvariance:30; pace:100 }
21 Particles { id:particlesB //particle fountain bursting every second
22 y:280; x:180; width:1; height:1; lifeSpan:1000; source: "star.png"
23 count: 100; angle:270; angleDeviation:45; velocity:50; velocityDeviation:30;
25 ParticleMotionGravity { yattractor: 1000; xattractor:0; acceleration:25 }
28 Timer { running: true; interval: 1000; repeat: true; onTriggered: particlesB.burst(200, 2000); }
32 Repeater{//emission variance test
36 width: 100; height: 100
43 x: 50; y:50; width: 0; height: 0;
44 fadeInDuration: 0; fadeOutDuration: 0
45 lifeSpan: 1000; lifeSpanDeviation:0;
47 count: -1; emissionRate: 120;
48 emissionVariance: index/2;
49 velocity: 250; velocityDeviation: 0;
50 angle: 0; angleDeviation: 0;