Skip to content

Instantly share code, notes, and snippets.

@usagi usagi/qtq2_ui_test.qml
Last active Dec 10, 2015

Embed
What would you like to do?
import QtQuick 2.0
import QtQuick.Particles 2.0
Rectangle {
width: 500
height: 500
color: "black"
ParticleSystem {
anchors.fill: parent
ImageParticle {
source: "star.png"
}
Emitter {
width: 50
height: 50
anchors.bottom: parent.bottom
size: 10
lifeSpan: 8000
velocity: AngleDirection {
angle: 300
magnitude: 150
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.