HISE Logo Forum
    • Categories
    • Register
    • Login

    SVG Repetitions

    Scheduled Pinned Locked Moved General Questions
    20 Posts 2 Posters 515 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.
    • MikeBM
      MikeB
      last edited by

      Is it possible to draw SVGs seamlessly one after the other as often as needed?
      and then see the whole thing as one path?

      "One hour of trial and error can save 10 minutes of reading the manual."
      "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
      HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

        @MikeB If you mean a tiled pattern then yes.

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

        1 Reply Last reply Reply Quote 0
        • MikeBM
          MikeB
          last edited by

          @d-healey how David?

          "One hour of trial and error can save 10 minutes of reading the manual."
          "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
          HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

            This is the function I'm using

                inline function tile(pattern, area, tileWidth, tileHeight, fill)
                {
                    local a = [];
                    
                    for (i = 0; i < area[2] / tileWidth; i++)
                    {
                        Engine.extendTimeOut(1000);
                        
                        for (j = 0; j < area[3] / tileHeight; j++)
                        {
                            Engine.extendTimeOut(1000);
            
                            a = [i * tileWidth, j * tileHeight, tileWidth, tileHeight];
                            
                            if (fill)
                                g.fillPath(pattern, a);
                            else
                                g.drawPath(pattern, a, 2);
                        }
                    }
                }
            

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

            1 Reply Last reply Reply Quote 0
            • MikeBM
              MikeB
              last edited by

              sorry david
              I'm completely missing the connection!?!
              how do I use this ?

              "One hour of trial and error can save 10 minutes of reading the manual."
              "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
              HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                @MikeB Use it like any other function. Call it from inside your panel's paint routine and pass it the parameters. Pattern is a path, area is an array [x, y, w, h], tileWidth and tileHeight are self explanatory, fill is if you want the path to be filled rather than outlined.

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

                1 Reply Last reply Reply Quote 0
                • MikeBM
                  MikeB
                  last edited by

                  Please give me an example David - I have been working on this problem since 5 o'clock this morning and can't get any further.

                  "One hour of trial and error can save 10 minutes of reading the manual."
                  "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                  HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                    @MikeB What more do you need? You call the function from inside your paint routine, that's all there is to it.

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

                    1 Reply Last reply Reply Quote 0
                    • MikeBM
                      MikeB
                      last edited by MikeB

                      @d-healey I have been trying to do this all the time

                      HiseSnippet 2172.3oc0Y0sbaabEFPRvQDIJiciunWt18FpXJIrfjPjiaGwX8iqZrk3XJa2Ndz3ABXI4ZCBPCrT+DOdl7Bz2k9HzmCeQlbUto2j2fzyt3WBtTVUQ9hBNhB3762dNm8fcW1MLvgDEEDpnV4nKFSTT+JsdW3yFt8Papux96nn9Gz18wGhdo8oj9AgiNhDwTdzEisihHtJppK9XtbpUVRQb8qa8HaOaeGRNIEkWDPcHOgNhxxo1sy2S871y1kbDcTAoazYem.+sC7Bl.XZQMCkw1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7po8j8NLAjvcnLziKBxEjBx7h3LhK2geX56mdV7+3+4c+yNYGZe7TvL0eBY.3nhTNh.ozdW36Trzp2nf.1Pp+foOh9614IAAi202FBCtEMR2g1QjjhjXx+7Ob2eZqsmDwBFkhEwY32CJ3DcNTeklUi0gq9Of+c6sgupe3MyyJkSkKd0RkRReKbEK29FQlLKkwyo2nUbFW4ePCk+mPbV8z+Gf36n0kxbFJeNsroKJJe1waxuXzJZ61uOwgkC1kz16u+4+mGRIdwhCdpMKjx6QdvjQ8fWq3P.j3Cu9hubF0E3urH9YC9yho3vNQDO7avUBSL+Y0Dl3TlP2WmvfW6DunA9jhkET.L4K9o4pn8T9ynr0IveqL7tDpK80NN7PwZPXTtNlWCcpeMzow0PmlWCcrtF5r40PmVWpN7ekxuaBz6MdZBPn6twccUy5dqtnx+0AGhST
                      

                      "One hour of trial and error can save 10 minutes of reading the manual."
                      "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                      HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                        You put the function in on init (like all functions that you write) then you call it from inside your panel's paint routine.

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

                        1 Reply Last reply Reply Quote 0
                        • MikeBM
                          MikeB
                          last edited by

                          I don't understand what you are saying-David
                          I will try something else - thanks for your effort

                          "One hour of trial and error can save 10 minutes of reading the manual."
                          "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                          HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                            @MikeB Have you ever written your own function?

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

                            MikeBM 1 Reply Last reply Reply Quote 0
                            • MikeBM
                              MikeB @d.healey
                              last edited by

                              @d-healey

                              1. not in this complexity - in javascript every now and then - but that's not quite the same here as I noticed.

                              2. do you have a video on this topic?

                              3. as I have mentioned many times before, I am a visual learner - I need to see the things to understand them.

                              4. should the whole thing be a snippet in this category to help others with the problem of displaying the LFO waveforms in the GUI.

                              5. the idea came from your suggestion @d-healey said in Drawing Sine Waves:

                              @Natan Yes, but why not just use an svg path?

                              1. I have now created all 5 waveforms in Adobe Illustrator and would like to use them as SVG for the representation of the LFO in the GUI.

                              To use the full frequency range, the waves are 9000 px long - which as SVG code is almost half a page. That's why I had the idea to take only a section and then repeat it several times.

                              I learned this from a Mr Healey here - to keep the code effective :-)

                              I have actually already solved the whole thing but unfortunately not very efficiently - Therefore here again the question for a more elegant solution.

                              "One hour of trial and error can save 10 minutes of reading the manual."
                              "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                              HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                                @MikeB said in SVG Repetitions:

                                not in this complexity - in javascript every now and then - but that's not quite the same here as I noticed.

                                You should be writing lots of functions, so go practice :)

                                do you have a video on this topic?

                                I use functions in a lot of my videos. Scripting 101 is where you sohuld start.

                                as I have mentioned many times before, I am a visual learner - I need to see the things to understand them.

                                You can create visuals yourself ;) Go and play and see what works and what doesn't. I do this all the time, when I need to learn a new aspect of scripting I make a little sandbox project and experiment.

                                I have now created all 5 waveforms in Adobe Illustrator and would like to use them as SVG for the representation of the LFO in the GUI.

                                Ah this is different to what I thought you were asking for. The function I posted is for creating a tiled background, repeating an image over a square. I think you only need to repeat it horizontally, correct?

                                To use the full frequency range, the waves are 9000 px long

                                Can you show me the image?

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

                                1 Reply Last reply Reply Quote 0
                                • MikeBM
                                  MikeB
                                  last edited by

                                  @d-healey see snippet

                                  It would be nice if it would be possible to achieve the same behaviour as with the long version of the SVG (move Knob1 and 2).
                                  with the short version by repetition.

                                  HiseSnippet 4447.3oc0b0rjbbajtZR1xbJuzgrW8.Tg1KC2sIYATn9KXnfiEIGFbME4Dpo3tanPgbwtqdlJXOcMp6ZnDsBEgeA12k8QXeNzAG6IeYu32.uYBT+.THQKZZpC6PQwoyDIvWl4GRfFci5js0KJ2sqdq2jCd9atnzax+vz4uYSyY2+rhpMdO9AdS9MSe3idVv+VwqKWUu87mWtqw6SeyEE61Utzaxjq9HrcSN3Zdxe9K26SKVWrYQ4fHOuWTWsn7IUmW0LH8ji9cUqWebwxxmWctVqEG83E0ate855KALc0ogdWTr3UEmV9zBrYWYp2jO3gKqZp2Nuonobm2jq8o0Key7yp+1Mp1+hpcUubcI9Bl2bniThOtd8RDwnTu6eV05kmz4667fd4jgHwUUQhOZ5mUsrpW9PD4CkJBFrPOdL4J6CdreZ3ERAuIZv6ZJ38qmNew1pKZFzfX6WN8waZJ2tp.RA5vR0Vuq7m9jo2uFZwllaedwqJOdK7hdKNLILbVPbX3Mu6M7w+bm6L+EOJ3jUEKCl+3m9vfaETsI3e8Kt+CCdU8lWWtsoB96sT+7jm8zGE7hG94ye7ydJzva8V+yM7gL9tlfWWrMXW0lxfOInChK1VBQwSJZN6PDRZs60m90KKZJf19kLV3LVX9rvYbgXVdxrzvY3ehRlkjLKOC9UVltBFSpA9Etg3DtRrfPppaDgyxisZehgTd1rjH7WhAqDiDK6FdLeVdjsAoFh65cFgTEZByl4mysL.5OMo88N5qLR3vA7GZafvPbeuCg0rbJ7jRnP4rYYV8dNgTkWQ1bN3qYoCcNHNdlOBRc4ZY7Li12kv4l8RGDCEyxHS3BBEp.VlcBOgPpxk.lPlvp8oFR6S2.KHiNeqqvev.zUsy2bBoscC3TLq1KLj124.IHKjBMHOH0Nci9pl3dz.rfT57cJgFLkYHVkvCmo5Fei7MNO.zjn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R45heY8VHHn7rgGEDJoedwxpK2oKW2K9E+jrfwQyoShgeWORxtcnmQn6+nMzc8opUnLFwO3sj5Lze+W5Ywi9JYnAbn+ooygJS9OeaUwlSWW5Ou3a8m+MWVrsz+yK1rr9beeErlNYpLLa8Tc3Cm9Y0KubcQi4CbB7orQqBnLfwS1A7o2.7lcZdiNm9m+mBE+JEdmN8IG+rVPB+VPO5Y5f7JjfbfD2K75GgORPdb2STj+3+627edT+idD0TvdyeR4ov.oK44kPJc9a1rPmZM+75Z3sct4TyGzHezQOot9hGto.BCK06jSNqXWYKIQI9+4O7Q+o6c+K20TedGVjOIRlCDNYkiIe4zDwsgeV8uf++76C+unm8940diSkW8sKURj9txaIc6eTlI6SYXN88JiK7s9wxh2eSHtmO8+CP7ud5IUMKNidNM0zEOue1wa6y8laL8gqVUtnY.rWa5w+6+7+PtwSskwS+rhlsUXMxmd44ygkUVTBHYCr7EtclIWAWrP85P70xo3kaVJeweE9oUICe8jVkrNkP02Eaq+5EpMMfSJttTBfoMxGvPGL8yvWGzuOAbUYXsjpkUe8hEXn3VPXj1F96fMQuC1HdGrI9cvlj2AaReGrIau1fOqk9sWB0dUSS.Am7PUU2I8UumbUu+OJcSwnA
                                  

                                  "One hour of trial and error can save 10 minutes of reading the manual."
                                  "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                                  HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                                    I'd stick with the long version. The problem with repeating the short version is you'll need to also calculate the scaling for each image which sounds like a headache.

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

                                    1 Reply Last reply Reply Quote 0
                                    • MikeBM
                                      MikeB
                                      last edited by

                                      Not if it is possible to duplicate the short SVG e.g. 5 times before and then to compress the whole thing again as as a coherent element (frequency) or to shift it (offset).

                                      This does not have to take place in the same panel - I thought a panel image - attached to each other which is then compressed in a paren panel.

                                      Would that be possible?

                                      "One hour of trial and error can save 10 minutes of reading the manual."
                                      "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                                      HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                                        @MikeB said in SVG Repetitions:

                                        Not if it is possible to duplicate the short SVG e.g. 5 times before and then to compress the whole thing again as as a coherent element (frequency) or to shift it (offset).

                                        It isn't possible. Just use the big version, it doesn't make a noticable performance difference.

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

                                        1 Reply Last reply Reply Quote 0
                                        • MikeBM
                                          MikeB
                                          last edited by

                                          Besides, it is not one long version but five - Sine, Square, Saw, Triangle, Random.

                                          "One hour of trial and error can save 10 minutes of reading the manual."
                                          "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                                          HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                                            @MikeB said in SVG Repetitions:

                                            Besides, it is not one long version but five - Sine, Square, Saw, Triangle, Random.

                                            That's fine.

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

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

                                            22

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.3k

                                            Posts