Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Animating a large number of items.
Forum Updated to NodeBB v4.3 + New Features

Animating a large number of items.

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 218 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • TomZT Offline
    TomZT Offline
    TomZ
    wrote on last edited by
    #1

    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.webm

    A 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?

    sierdzioS 1 Reply Last reply
    0
    • TomZT TomZ

      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.webm

      A 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?

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @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.

      (Z(:^

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved