blob: d58180345747fa67f57429895eec5580423066e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import QtQuick 2.0
Item {
id: root;
property int count: 100;
property int staticCount: 1000;
property real t;
NumberAnimation on t { from: 0; to: 1; duration: 2347; loops: Animation.Infinite }
Repeater {
id: repeater
model: root.count
Text {
x: Math.random() * root.width
y: Math.random() * root.height
text: Math.floor( root.t * 1000 ) / 1000;
}
}
}
|