Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. need a hint - small pixel animations
Qt 6.11 is out! See what's new in the release blog

need a hint - small pixel animations

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.1k 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.
  • M Offline
    M Offline
    Marcin456
    wrote on last edited by Marcin456
    #1

    hello everyone,
    as a beginner i'm looking for a hint - i need to create few basic animations (12x12 pixels, square) like rotating rainbow or else.
    is there any library, or class i should start? i prefer to generate animation "on the fly" rather that load .gif image.
    I need alsoe to read pixel by pixel from generated image ...

    thanks for any support

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mostefa
      wrote on last edited by
      #2

      Hi @Marcin456

      I think that you are look for the animation framework

      http://doc.qt.io/qt-5/animation-overview.html

      http://doc.qt.io/qt-5/qml-qtquick-animation.html

      If you can use QML , the qml book can be a good start,

      https://qmlbook.github.io/en/ch05/index.html#animations

      Hope this can help,

      Best regards !

      1 Reply Last reply
      1
      • M Offline
        M Offline
        Marcin456
        wrote on last edited by Marcin456
        #3

        Hi @mostefa ! Thanks for the reply!

        It will be possible to generate animation like that:
        https://cdn-shop.adafruit.com/product-videos/320x240/2026-04.mp4
        ?
        Thanks

        M 1 Reply Last reply
        0
        • M Marcin456

          Hi @mostefa ! Thanks for the reply!

          It will be possible to generate animation like that:
          https://cdn-shop.adafruit.com/product-videos/320x240/2026-04.mp4
          ?
          Thanks

          M Offline
          M Offline
          mostefa
          wrote on last edited by
          #4

          @Marcin456 said in need a hint - small pixel animations:

          Hi @mostefa ! Thanks for the reply!

          It will be possible to generate animation like that:
          https://cdn-shop.adafruit.com/product-videos/320x240/2026-04.mp4
          ?
          Thanks

          Hi @Marcin456 to be honest , i don't know how to create this kind of effect only with qt/qml,

          But i think that this effect can be possible with shader,

          If you have knowledge on Fragment Shader programming ,you can mix QML/GLSL to make such effect :

          http://doc.qt.io/qt-5/qml-qtquick-shadereffect.html

          In the following site you can have an idea about what we can do with shader

          http://glslsandbox.com/e#39849.0
          http://glslsandbox.com/e#39863.2
          http://glslsandbox.com/e#39776.0

          1 Reply Last reply
          0

          • Login

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