HISE Logo Forum
    • Categories
    • Register
    • Login

    Painting Random Dots On A Panel

    Scheduled Pinned Locked Moved General Questions
    7 Posts 3 Posters 261 Views
    Loading More Posts
    • 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.
    • NatanN
      Natan
      last edited by Natan

      Hey Musiclovers

      Trying To Draw Random Dots ( Circles ) On A Panel, With a Timer.
      The Position Of Dots Needs To be Randomizes And Keeping Updated By A Timer.

      Any Help Is Much Appreciated :folded_hands:

      ustkU 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey
        last edited by

        Use Math.randInt(); to generate random XY positions for your circles.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        NatanN 1 Reply Last reply Reply Quote 1
        • ustkU
          ustk @Natan
          last edited by

          @Natan https://docs.hise.audio/tutorials/recipes/ui/scriptpanel.html#horizontal-list-example
          Just above (it has no link in the doc)

          Can't help pressing F5 in the forum...

          1 Reply Last reply Reply Quote 1
          • NatanN
            Natan @d.healey
            last edited by

            @d-healey Yeah That's The Magic Code :) Thank You Sir
            @ustk Oh Wow That Looks Nice

            1 Reply Last reply Reply Quote 0
            • NatanN
              Natan
              last edited by

              @d-healey @ustk How to Use A Loop To Draw 100 Circles?

              d.healeyD 1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey @Natan
                last edited by

                @Natan Try it and post a snippet, then I'll help you fix mistakes.

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                NatanN 1 Reply Last reply Reply Quote 0
                • NatanN
                  Natan @d.healey
                  last edited by

                  @d-healey I'll Send You A Message :)

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  12

                  Online

                  1.8k

                  Users

                  12.0k

                  Topics

                  104.2k

                  Posts