Animating a large number of items.
-
What approach would people suggest to make a mostly data-driven animation?
Take a look at this example done in a very different setting/framework:
http://23.137.249.118/animated-qr-code-demo.webmA QR code like this is built by external libraries typically as black/white image with one pixel per... dot.
I'm thinking it probably makes sense to create a rectangle per dot, at least the ones that are supposed to be dark.
And then somehow animate them.Does anyone have any better ideas?
-
What approach would people suggest to make a mostly data-driven animation?
Take a look at this example done in a very different setting/framework:
http://23.137.249.118/animated-qr-code-demo.webmA QR code like this is built by external libraries typically as black/white image with one pixel per... dot.
I'm thinking it probably makes sense to create a rectangle per dot, at least the ones that are supposed to be dark.
And then somehow animate them.Does anyone have any better ideas?
@TomZ said in Animating a large number of items.:
Does anyone have any better ideas?
If you want performance, use shaders. If you want easy implementation, use QQuickPaintedItem.
Using rectangles and animating them I expect will be a lot of work and performance will be bad.