Skip to content

Instantly share code, notes, and snippets.

@usagi
Last active December 10, 2015 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save usagi/4433211 to your computer and use it in GitHub Desktop.
Save usagi/4433211 to your computer and use it in GitHub Desktop.
import QtQuick 2.0
import QtQuick.Particles 2.0
Rectangle {
width: 600
height: 600
color: Qt.rgba(1.0, 0.8, 0.8, 0.6) // "black"
ParticleSystem {
anchors.fill: parent
ImageParticle {
source: "star.png"
}
Emitter {
anchors.fill: parent
size: 50
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment