diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-06-25 12:01:46 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-29 02:21:36 +0200 |
commit | 5df94d89033e7bbb3f41840a4c07a628ed66b4d5 (patch) | |
tree | e42bcd16d8f5f3a192c48794b610ffeb05b9dc02 /tests | |
parent | 2241d6fa2d39fe890ba0d17ff58b5e0615c1cd7b (diff) |
Rename speed -> velocity in the particle system
Matches the convention set in the QtQuick module, for example by
ListView and Flickable.
Change-Id: I8df57ed1ced8128723d790c30c00cc1b2062787d
Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'tests')
25 files changed, 48 insertions, 48 deletions
diff --git a/tests/auto/particles/qquickage/data/jump.qml b/tests/auto/particles/qquickage/data/jump.qml index 909e903258..29a06e0d52 100644 --- a/tests/auto/particles/qquickage/data/jump.qml +++ b/tests/auto/particles/qquickage/data/jump.qml @@ -64,7 +64,7 @@ Rectangle { size: 32 emitRate: 1000 lifeSpan: 500 - speed: PointDirection{ x: 500; y: 500 } + velocity: PointDirection{ x: 500; y: 500 } } } } diff --git a/tests/auto/particles/qquickage/data/kill.qml b/tests/auto/particles/qquickage/data/kill.qml index 2223498ad0..d60468e686 100644 --- a/tests/auto/particles/qquickage/data/kill.qml +++ b/tests/auto/particles/qquickage/data/kill.qml @@ -60,7 +60,7 @@ Rectangle { size: 32 emitRate: 1000 lifeSpan: 500 - speed: PointDirection{ x: 1000; y: 1000 } + velocity: PointDirection{ x: 1000; y: 1000 } } } } diff --git a/tests/auto/particles/qquickage/data/onceoff.qml b/tests/auto/particles/qquickage/data/onceoff.qml index 2a29476e13..14a0a2ca29 100644 --- a/tests/auto/particles/qquickage/data/onceoff.qml +++ b/tests/auto/particles/qquickage/data/onceoff.qml @@ -63,7 +63,7 @@ Rectangle { size: 32 emitRate: 1000 lifeSpan: 500 - speed: PointDirection{ x: 500; y: 500 } + velocity: PointDirection{ x: 500; y: 500 } } } } diff --git a/tests/auto/particles/qquickage/data/sustained.qml b/tests/auto/particles/qquickage/data/sustained.qml index 31c4c377e3..8c6e2c4f8f 100644 --- a/tests/auto/particles/qquickage/data/sustained.qml +++ b/tests/auto/particles/qquickage/data/sustained.qml @@ -63,7 +63,7 @@ Rectangle { size: 32 emitRate: 1000 lifeSpan: 500 - speed: PointDirection{ x: 500; y: 500 } + velocity: PointDirection{ x: 500; y: 500 } } } } diff --git a/tests/auto/particles/qquickangleddirection/data/basic.qml b/tests/auto/particles/qquickangleddirection/data/basic.qml index 93406c44cd..90e9697b92 100644 --- a/tests/auto/particles/qquickangleddirection/data/basic.qml +++ b/tests/auto/particles/qquickangleddirection/data/basic.qml @@ -61,7 +61,7 @@ Rectangle { size: 32 emitRate: 1000 lifeSpan: 500 - speed: AngleDirection { angle: 45; magnitude: 500 } + velocity: AngleDirection { angle: 45; magnitude: 500 } acceleration: AngleDirection { angle: 45; angleVariation: 22; magnitude: 250; magnitudeVariation: 249} } } diff --git a/tests/auto/particles/qquickcumulativedirection/data/basic.qml b/tests/auto/particles/qquickcumulativedirection/data/basic.qml index a2957b70eb..4bf5565fb8 100644 --- a/tests/auto/particles/qquickcumulativedirection/data/basic.qml +++ b/tests/auto/particles/qquickcumulativedirection/data/basic.qml @@ -61,7 +61,7 @@ Rectangle { size: 32 emitRate: 1000 lifeSpan: 500 - speed: CumulativeDirection { + velocity: CumulativeDirection { PointDirection { x: 100; y: -100 } PointDirection { x: -100; y: 100 } } diff --git a/tests/auto/particles/qquickcustomaffector/data/move.qml b/tests/auto/particles/qquickcustomaffector/data/move.qml index 3b259f5780..19e578d0b6 100644 --- a/tests/auto/particles/qquickcustomaffector/data/move.qml +++ b/tests/auto/particles/qquickcustomaffector/data/move.qml @@ -67,7 +67,7 @@ Rectangle { once: false relative: false position: PointDirection { x: 50; y: 50; } - speed: PointDirection { x: 50; y: 50; } + velocity: PointDirection { x: 50; y: 50; } acceleration: PointDirection { x: 50; y: 50; } } } diff --git a/tests/auto/particles/qquickfriction/data/basic.qml b/tests/auto/particles/qquickfriction/data/basic.qml index 5d27f2a2b3..59d8939ec6 100644 --- a/tests/auto/particles/qquickfriction/data/basic.qml +++ b/tests/auto/particles/qquickfriction/data/basic.qml @@ -63,7 +63,7 @@ Rectangle { Emitter{ //0,0 position - speed: PointDirection{x:100} + velocity: PointDirection{x:100} size: 32 emitRate: 1000 lifeSpan: 500 @@ -78,7 +78,7 @@ Rectangle { //0,0 position group: "notdefault" y:200 - speed: PointDirection{x:100} + velocity: PointDirection{x:100} size: 32 emitRate: 1000 lifeSpan: 500 diff --git a/tests/auto/particles/qquickfriction/data/threshold.qml b/tests/auto/particles/qquickfriction/data/threshold.qml index 60386f9f24..01320f35c5 100644 --- a/tests/auto/particles/qquickfriction/data/threshold.qml +++ b/tests/auto/particles/qquickfriction/data/threshold.qml @@ -58,13 +58,13 @@ Rectangle { } Friction { - factor: 1000 //speed limit 50 + factor: 1000 //velocity limit 50 threshold: 50 } Emitter{ //0,0 position - speed: PointDirection{x:1000} + velocity: PointDirection{x:1000} size: 32 emitRate: 1000 lifeSpan: 500 diff --git a/tests/auto/particles/qquickfriction/tst_qquickfriction.cpp b/tests/auto/particles/qquickfriction/tst_qquickfriction.cpp index c3559fa2d0..2beccd7e8f 100644 --- a/tests/auto/particles/qquickfriction/tst_qquickfriction.cpp +++ b/tests/auto/particles/qquickfriction/tst_qquickfriction.cpp @@ -114,7 +114,7 @@ void tst_qquickfriction::test_threshold() QQuickParticleSystem* system = view->rootObject()->findChild<QQuickParticleSystem*>("system"); ensureAnimTime(600, system->m_animation); - //Speed capped at 50, but it might take a frame or two to get there + //Velocity capped at 50, but it might take a frame or two to get there QVERIFY(extremelyFuzzyCompare(system->groupData[0]->size(), 500, 10)); foreach (QQuickParticleData *d, system->groupData[0]->data) { if (d->t == -1.0f) diff --git a/tests/auto/particles/qquickimageparticle/data/deformed.qml b/tests/auto/particles/qquickimageparticle/data/deformed.qml index c4ad331868..51cae4d56a 100644 --- a/tests/auto/particles/qquickimageparticle/data/deformed.qml +++ b/tests/auto/particles/qquickimageparticle/data/deformed.qml @@ -55,7 +55,7 @@ Rectangle { ImageParticle { source: "../../shared/star.png" rotation: 90 - rotationSpeed: 90 + rotationVelocity: 90 autoRotation: true yVector: PointDirection{x: 0.5; y: 0.5} xVector: PointDirection{x: 0.5; y: 0.5} diff --git a/tests/auto/particles/qquickimageparticle/tst_qquickimageparticle.cpp b/tests/auto/particles/qquickimageparticle/tst_qquickimageparticle.cpp index cbc09fdb53..52a30753e7 100644 --- a/tests/auto/particles/qquickimageparticle/tst_qquickimageparticle.cpp +++ b/tests/auto/particles/qquickimageparticle/tst_qquickimageparticle.cpp @@ -108,7 +108,7 @@ void tst_qquickimageparticle::test_basic() QCOMPARE(d->yy, 1.0f); QCOMPARE(d->yx, 0.0f); QCOMPARE(d->rotation, 0.0f); - QCOMPARE(d->rotationSpeed, 0.0f); + QCOMPARE(d->rotationVelocity, 0.0f); QCOMPARE(d->autoRotate, 0.0f); QCOMPARE(d->animX, 0.0f); QCOMPARE(d->animY, 0.0f); @@ -152,7 +152,7 @@ void tst_qquickimageparticle::test_colored() QCOMPARE(d->yy, 1.0f); QCOMPARE(d->yx, 0.0f); QCOMPARE(d->rotation, 0.0f); - QCOMPARE(d->rotationSpeed, 0.0f); + QCOMPARE(d->rotationVelocity, 0.0f); QCOMPARE(d->autoRotate, 0.0f); QCOMPARE(d->animX, 0.0f); QCOMPARE(d->animY, 0.0f); @@ -197,7 +197,7 @@ void tst_qquickimageparticle::test_colorVariance() QCOMPARE(d->yy, 1.0f); QCOMPARE(d->yx, 0.0f); QCOMPARE(d->rotation, 0.0f); - QCOMPARE(d->rotationSpeed, 0.0f); + QCOMPARE(d->rotationVelocity, 0.0f); QCOMPARE(d->autoRotate, 0.0f); QCOMPARE(d->animX, 0.0f); QCOMPARE(d->animY, 0.0f); @@ -241,7 +241,7 @@ void tst_qquickimageparticle::test_deformed() QCOMPARE(d->yy, 0.5f); QCOMPARE(d->yx, 0.5f); QCOMPARE(d->rotation, 90.0f * (float)CONV_FACTOR); - QCOMPARE(d->rotationSpeed, 90.0f * (float)CONV_FACTOR); + QCOMPARE(d->rotationVelocity, 90.0f * (float)CONV_FACTOR); QCOMPARE(d->autoRotate, 1.0f); QCOMPARE(d->animX, 0.0f); QCOMPARE(d->animY, 0.0f); @@ -285,7 +285,7 @@ void tst_qquickimageparticle::test_tabled() QCOMPARE(d->yy, 1.0f); QCOMPARE(d->yx, 0.0f); QCOMPARE(d->rotation, 0.0f); - QCOMPARE(d->rotationSpeed, 0.0f); + QCOMPARE(d->rotationVelocity, 0.0f); QCOMPARE(d->autoRotate, 0.0f); QCOMPARE(d->animX, 0.0f); QCOMPARE(d->animY, 0.0f); @@ -330,7 +330,7 @@ void tst_qquickimageparticle::test_sprite() QCOMPARE(d->yy, 1.0f); QCOMPARE(d->yx, 0.0f); QCOMPARE(d->rotation, 0.0f); - QCOMPARE(d->rotationSpeed, 0.0f); + QCOMPARE(d->rotationVelocity, 0.0f); QCOMPARE(d->autoRotate, 0.0f); QVERIFY(myFuzzyCompare(d->frameDuration, 120.f)); QCOMPARE(d->frameCount, 6.0f); diff --git a/tests/auto/particles/qquickpointdirection/data/basic.qml b/tests/auto/particles/qquickpointdirection/data/basic.qml index 930ba1ddc1..298f33d37d 100644 --- a/tests/auto/particles/qquickpointdirection/data/basic.qml +++ b/tests/auto/particles/qquickpointdirection/data/basic.qml @@ -59,7 +59,7 @@ Rectangle { Emitter{ //0,0 position size: 32 - speed: PointDirection{ x: 100; y: 100 } + velocity: PointDirection{ x: 100; y: 100 } acceleration: PointDirection{ x: 100; xVariation: 100; y: 100; yVariation: 100 } emitRate: 1000 lifeSpan: 500 diff --git a/tests/auto/particles/qquicktargetdirection/data/basic.qml b/tests/auto/particles/qquicktargetdirection/data/basic.qml index 97ce724583..f5c53e4a97 100644 --- a/tests/auto/particles/qquicktargetdirection/data/basic.qml +++ b/tests/auto/particles/qquicktargetdirection/data/basic.qml @@ -58,7 +58,7 @@ Rectangle { Emitter{ //0,0 position - speed: TargetDirection{ targetItem: sys; proportionalMagnitude: true; magnitude: 1 } + velocity: TargetDirection{ targetItem: sys; proportionalMagnitude: true; magnitude: 1 } size: 32 emitRate: 1000 lifeSpan: 500 diff --git a/tests/auto/particles/qquicktrailemitter/data/basic.qml b/tests/auto/particles/qquicktrailemitter/data/basic.qml index 77058f0785..5ffd0abc64 100644 --- a/tests/auto/particles/qquicktrailemitter/data/basic.qml +++ b/tests/auto/particles/qquicktrailemitter/data/basic.qml @@ -64,7 +64,7 @@ Rectangle { size: 32 emitRatePerParticle: 2 lifeSpan: 500 - speed: PointDirection{ x: 500; y: 500 } + velocity: PointDirection{ x: 500; y: 500 } } Emitter{ x: 4 diff --git a/tests/benchmarks/qml/qqmlcomponent/data/samegame/BoomBlock.qml b/tests/benchmarks/qml/qqmlcomponent/data/samegame/BoomBlock.qml index 5678fa400e..25aa7946a6 100644 --- a/tests/benchmarks/qml/qqmlcomponent/data/samegame/BoomBlock.qml +++ b/tests/benchmarks/qml/qqmlcomponent/data/samegame/BoomBlock.qml @@ -86,7 +86,7 @@ Item { } anchors.fill: parent - speed: TargetDirection{targetX: block.width/2; targetY: block.height/2; magnitude: -60; magnitudeVariation: 60} + velocity: TargetDirection{targetX: block.width/2; targetY: block.height/2; magnitude: -60; magnitudeVariation: 60} shape: EllipseShape{fill:true} enabled: false; lifeSpan: 700; lifeSpanVariation: 100 diff --git a/tests/testapplications/elements/content/AffectorElement.qml b/tests/testapplications/elements/content/AffectorElement.qml index f5507a686f..5e4b0a7d68 100644 --- a/tests/testapplications/elements/content/AffectorElement.qml +++ b/tests/testapplications/elements/content/AffectorElement.qml @@ -91,7 +91,7 @@ Item { height: 5 emitRate: 100 lifeSpan: 10000 - speed: AngleDirection { angle: 0; magnitude: 30 } + velocity: AngleDirection { angle: 0; magnitude: 30 } } // Affectors diff --git a/tests/testapplications/elements/content/DirectionElement.qml b/tests/testapplications/elements/content/DirectionElement.qml index c6c1dbc545..42a24a28d3 100644 --- a/tests/testapplications/elements/content/DirectionElement.qml +++ b/tests/testapplications/elements/content/DirectionElement.qml @@ -77,7 +77,7 @@ Item { emitRate: 50 lifeSpan: 4000 size: 20 - speed: angledirectionelement + velocity: angledirectionelement AngleDirection { id: angledirectionelement; angle: -75; angleVariation: 5; magnitude: 150 } TargetDirection { id: targetdirectionelement; targetItem: targetbox; targetVariation: 10; magnitude: 150 } PointDirection { id: pointdirectionelement; y: -100; xVariation: 10; yVariation: 10; } @@ -103,20 +103,20 @@ Item { "Next, let's change the Emitter to target an item." } }, State { name: "ontarget"; when: statenum == 2 - PropertyChanges { target: emitter; speed: targetdirectionelement } + PropertyChanges { target: emitter; velocity: targetdirectionelement } PropertyChanges { target: targeticon; height: 50; width: 50 } PropertyChanges { target: directionelementtest testtext: "The particles should be directed at the rectangle.\n"+ "Next, let's set an arbritary point to direct the particles to." } }, State { name: "onpoint"; when: statenum == 3 - PropertyChanges { target: emitter; speed: pointdirectionelement } + PropertyChanges { target: emitter; velocity: pointdirectionelement } PropertyChanges { target: directionelementtest testtext: "The particles should be directed upwards with a small amount of spread.\n"+ "Next, let's create a fountain with CumulativeDirection and a downward PointDirection" } }, State { name: "cumulative"; when: statenum == 4 - PropertyChanges { target: emitter; emitRate: 200; speed: cumulativedirectionelement + PropertyChanges { target: emitter; emitRate: 200; velocity: cumulativedirectionelement acceleration: pointdirectionelementdownward } PropertyChanges { target: imgparticle; color: "aqua"; colorVariation: .2 } PropertyChanges { target: directionelementtest diff --git a/tests/testapplications/elements/content/EmitterElement.qml b/tests/testapplications/elements/content/EmitterElement.qml index 617a93475e..87f5b31627 100644 --- a/tests/testapplications/elements/content/EmitterElement.qml +++ b/tests/testapplications/elements/content/EmitterElement.qml @@ -59,10 +59,10 @@ Item { Emitter { id: emitterelement anchors.centerIn: parent - property int emitspeed: 10 + property int emitvelocity: 10 emitRate: 5 lifeSpan: 1000 - speed: AngleDirection { angle: 0; angleVariation: 360; magnitude: emitterelement.emitspeed } + velocity: AngleDirection { angle: 0; angleVariation: 360; magnitude: emitterelement.emitvelocity } } } @@ -77,28 +77,28 @@ Item { PropertyChanges { target: emitterelementtest testtext: "This is an Emitter element, visualized by an ImageParticle. It should be emitting particles "+ "slowly from the center of the display.\n"+ - "Next, let's change the emission speed of the particles." } + "Next, let's change the emission velocity of the particles." } }, State { name: "fast"; when: statenum == 2 - PropertyChanges { target: emitterelement; emitspeed: 50 } + PropertyChanges { target: emitterelement; emitvelocity: 50 } PropertyChanges { target: emitterelementtest testtext: "The particles emitted should be moving more quickly.\n"+ "Next, let's increase the number of particles emitted." } }, State { name: "many"; when: statenum == 3 - PropertyChanges { target: emitterelement; emitspeed: 50; emitRate: 100 } + PropertyChanges { target: emitterelement; emitvelocity: 50; emitRate: 100 } PropertyChanges { target: emitterelementtest testtext: "The particles should now be quick and numerous.\n"+ "Next, let's allow them to survive longer." } }, State { name: "enduring"; when: statenum == 4 - PropertyChanges { target: emitterelement; emitspeed: 50; emitRate: 100; lifeSpan: 3000 } + PropertyChanges { target: emitterelement; emitvelocity: 50; emitRate: 100; lifeSpan: 3000 } PropertyChanges { target: emitterelementtest testtext: "The particles should now be enduring to the edges of the display.\n"+ "Next, let's have them changing their size." } }, State { name: "sized"; when: statenum == 5 - PropertyChanges { target: emitterelement; emitspeed: 50; emitRate: 100; lifeSpan: 3000; size: 20; endSize: 5 } + PropertyChanges { target: emitterelement; emitvelocity: 50; emitRate: 100; lifeSpan: 3000; size: 20; endSize: 5 } PropertyChanges { target: emitterelementtest testtext: "The particles should now be starting large and ending small.\n"+ "Advance to restart the test." } diff --git a/tests/testapplications/elements/content/ImageParticleElement.qml b/tests/testapplications/elements/content/ImageParticleElement.qml index cf98e157c6..75daa3807b 100644 --- a/tests/testapplications/elements/content/ImageParticleElement.qml +++ b/tests/testapplications/elements/content/ImageParticleElement.qml @@ -61,7 +61,7 @@ Item { anchors.centerIn: parent emitRate: 50 lifeSpan: 3000 - speed: AngleDirection { angle: 0; angleVariation: 360; magnitude: 60 } + velocity: AngleDirection { angle: 0; angleVariation: 360; magnitude: 60 } } } @@ -85,13 +85,13 @@ Item { "Next, let's get them spinning." } }, State { name: "spinning"; when: statenum == 3 - PropertyChanges { target: imageparticle; color: "lightgreen"; rotation: 360; rotationSpeed: 100 } + PropertyChanges { target: imageparticle; color: "lightgreen"; rotation: 360; rotationVelocity: 100 } PropertyChanges { target: imageparticleelementtest testtext: "The particles should now be green and spinning.\n"+ "Next, let's get them popping in and out." } }, State { name: "scaling"; when: statenum == 4 - PropertyChanges { target: imageparticle; color: "lightgreen"; rotation: 360; rotationSpeed: 100; entryEffect: ImageParticle.Scale } + PropertyChanges { target: imageparticle; color: "lightgreen"; rotation: 360; rotationVelocity: 100; entryEffect: ImageParticle.Scale } PropertyChanges { target: imageparticleelementtest testtext: "The particles should now be scaling in and out.\n"+ "Advance to restart the test." } diff --git a/tests/testapplications/elements/content/ParticleSystemElement.qml b/tests/testapplications/elements/content/ParticleSystemElement.qml index ba3892f912..5bc8b29ccd 100644 --- a/tests/testapplications/elements/content/ParticleSystemElement.qml +++ b/tests/testapplications/elements/content/ParticleSystemElement.qml @@ -55,7 +55,7 @@ Item { id: particleemitter x: 50; y: 200 emitRate: 100 - speed: AngleDirection { angle: 0; angleVariation: 360; magnitude: 100 } + velocity: AngleDirection { angle: 0; angleVariation: 360; magnitude: 100 } Rectangle { anchors.centerIn: parent; height: 1; width: 1; color: "black" } SequentialAnimation { running: true; paused: particlesystemelement.paused; loops: Animation.Infinite diff --git a/tests/testapplications/elements/content/ShapeElement.qml b/tests/testapplications/elements/content/ShapeElement.qml index c0ccd91696..6225a3d96a 100644 --- a/tests/testapplications/elements/content/ShapeElement.qml +++ b/tests/testapplications/elements/content/ShapeElement.qml @@ -67,7 +67,7 @@ Item { anchors.fill: parent emitRate: 500 lifeSpan: 2000 - speed: TargetDirection { + velocity: TargetDirection { targetX: particlesystem.width/2 targetY: particlesystem.height/2 proportionalMagnitude: true @@ -82,7 +82,7 @@ Item { anchors.fill: parent emitRate: 200 lifeSpan: 1000 - speed: TargetDirection { + velocity: TargetDirection { targetX: particlesystem.width/2 targetY: particlesystem.height/2 proportionalMagnitude: true diff --git a/tests/testapplications/elements/content/TrailEmitterElement.qml b/tests/testapplications/elements/content/TrailEmitterElement.qml index a151237993..9d3168b727 100644 --- a/tests/testapplications/elements/content/TrailEmitterElement.qml +++ b/tests/testapplications/elements/content/TrailEmitterElement.qml @@ -87,7 +87,7 @@ Item { emitRate: 1 lifeSpan: 3000 size: 20 - speed: AngleDirection { angle: 270; angleVariation: 25; magnitude: 150 } + velocity: AngleDirection { angle: 270; angleVariation: 25; magnitude: 150 } group: "orangemissile" } Emitter { @@ -98,7 +98,7 @@ Item { emitRate: 1 lifeSpan: 3000 size: 20 - speed: AngleDirection { angle: 270; angleVariation: 25; magnitude: 150 } + velocity: AngleDirection { angle: 270; angleVariation: 25; magnitude: 150 } group: "greenmissile" } Gravity { @@ -113,8 +113,8 @@ Item { anchors.fill: parent emitRatePerParticle: 50 lifeSpan: 1000 - speedFromMovement: .2 - speed: AngleDirection { angle: 0; angleVariation: 360; magnitude: 5 } + velocityFromMovement: .2 + velocity: AngleDirection { angle: 0; angleVariation: 360; magnitude: 5 } maximumEmitted: 500 shape: basicshape } diff --git a/tests/testapplications/listview/onRemove.qml b/tests/testapplications/listview/onRemove.qml index 2c1d52a40e..87ef9f6a09 100644 --- a/tests/testapplications/listview/onRemove.qml +++ b/tests/testapplications/listview/onRemove.qml @@ -68,7 +68,7 @@ Item { system: ps anchors.fill: parent enabled: false - speed: AngleDirection { + velocity: AngleDirection { angle: 0 angleVariation: 360 magnitude: 50 diff --git a/tests/testapplications/listview/viewTransitions.qml b/tests/testapplications/listview/viewTransitions.qml index 6ed7cc1619..92a9c6ffcc 100644 --- a/tests/testapplications/listview/viewTransitions.qml +++ b/tests/testapplications/listview/viewTransitions.qml @@ -68,7 +68,7 @@ Item { system: ps anchors.fill: parent enabled: false - speed: AngleDirection { + velocity: AngleDirection { angle: 0 angleVariation: 360 magnitude: 50 @@ -81,7 +81,7 @@ Item { anchors.fill: parent enabled: item.movn emitRate: parts - speed: AngleDirection { + velocity: AngleDirection { angle: 0 angleVariation: 360 magnitude: 2 |