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. how to make water ripple (circles)
Qt 6.11 is out! See what's new in the release blog

how to make water ripple (circles)

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 603 Views
  • 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.
  • S Offline
    S Offline
    squareroot13
    wrote on last edited by
    #1

    How to make a water ripples (circles on the water) ?
    It can be implements as shader or animation . I prefer an animation, but agree to use shader.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Shrishashank
      wrote on last edited by Shrishashank
      #2

      Here How You Can Do With Animation Method

      Rectangle {
          width: radius * 2
          height: radius * 2
          color: "rgba(255, 255, 255, 0.4)"
          radius: width / 2
          anchors.centerIn: parent
          // Animation to expand the ripple
          NumberAnimation {
              target: parent
              property: "radius"
              from: 0
              to: 100       
              duration: 1000 
              loops: Animation.Infinite
              easing.type: Easing.OutElastic
          }
      }
      

      SHRISHASHANK S K

      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