Revision control

Copy as Markdown

// Copyright (C) 2026 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick
import QtQuick.Particles
Rectangle {
id: root
width: 320
height: 320
ParticleSystem {
id: system
objectName: "system"
anchors.fill: parent
ImageParticle {
source: "../../shared/star.png"
}
}
// Emitter has no system; system will be assigned after componentComplete
Emitter {
id: emitter
objectName: "emitter"
size: 32
emitRate: 1000
lifeSpan: 500
}
}