import QtQuick 2.7 import QtQuick.Controls 2.0 import QtQuick.Particles 2.0 import QtGraphicalEffects 1.0 ApplicationWindow { visible: true width: 640 height: 480 title: qsTr("Particles Bug") Rectangle{ anchors.fill: parent color: "black" Rectangle{ id: r1 anchors.fill: parent visible: false color: "red" } Rectangle{ id: r2 anchors.fill: parent visible: false color: "green" } Blend{ anchors.fill: parent source: r2 foregroundSource: r1 mode: "addition" } MouseArea{ id: marea anchors.fill: parent } ParticleSystem { id: sys } //! [0] Emitter { system: sys emitRate: 500 y: marea.mouseY x: marea.mouseX size: 25 ImageParticle { system: sys source: "qrc:///particleresources/star.png" SequentialAnimation on color { loops: Animation.Infinite ColorAnimation { from: "cyan" to: "yellow" duration: 1000 } } } } } }