// Copyright (C) 2017 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause import QtQuick import QtQuick.Particles ParticleSystem { id: sys width: 360 height: 600 running: true Rectangle { z: -1 anchors.fill: parent color: "black" } property real petalLength: 180 property real petalRotation NumberAnimation on petalRotation { from: 0; to: 360; loops: -1; running: true duration: 24000 } function convert(a) {return a*(Math.PI/180);} Emitter { lifeSpan: 4000 emitRate: 120 size: 12 anchors.centerIn: parent //! [0] onEmitParticles: (particles) => { for (var i=0; i