Description of my app
I'm trying to show a nice timeline animation of how bikeracks in a city are affected by traffic (every rack is a dot, that gets more towards green as it's filled up, more towards red as it becomes more empty etc)
What I have so far
Something like the image above.
This is my code so far that generated this:
import QtQuick 2.0
import QtQuick.Particles 2.0
Rectangle {
width: 360
height: 360
color: "black"
id: bg
ParticleSystem {
id: sys
}
Emitter {
anchors.fill: parent
system: sys
ImageParticle {
anchors.fill: parent
system: sys
source: "images/greenBlip.png"
clip: true
id: redblip
}
lifeSpan: 6000
}
}
Actual question
Unfortunately, in the app right now I cannot control the following:
- where and how many particles appear
- how bright they are
- lifespan (I don't want them to dissapear)
Any ideas how to control this?