HISE Logo Forum
    • Categories
    • Register
    • Login

    Lottie tutorial?

    Scheduled Pinned Locked Moved General Questions
    31 Posts 10 Posters 1.9k 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.
    • Tania GhoshT
      Tania Ghosh @Natan
      last edited by

      @Natan Ok... i'll try.

      Tania Ghosh

      1 Reply Last reply Reply Quote 0
      • marcLabM
        marcLab
        last edited by

        Hey @dustbro! First, you need to create a Hise snippet of your JSON string by using the rLottie demo app. But first you need to run the rLottie Demo projucer in the Tools/ rlottie/... rlottieDemo.

        1 Reply Last reply Reply Quote 1
        • marcLabM
          marcLab @Dan Korneff
          last edited by

          @dustbro

          :)

          hope this will help. Don't forget to put the Lottie plugin in the right place on your computer.

          HiseSnippet 1971.3ocsWszihicE1zcQqTLSMJSz7C.UqnC0XYy6JQQ8Xv1.FiMfMO2LxXeM9B1Wa7CJaZ0RYQ98j+.YQ9ajsYc1jEYex07ngNcMslojFVw4087ct93y4yC7c0AAAt9DYtUMwCPj4qypjfBsZYoAQDcYIx7MY6qEDB7yeTUyDOsf.fAQlLutcphL2dCwge+620TyVCoCtnhfXhKTGHBcfgWzN3G5Ass40L.pPmq7txOzU2E0x01MBimWmkhvSSei1JfjVpauJKQl2vY.Cc8UB0BAAXeZ5ZjnX49D5n+SfAvk1fTAZBE7AcTMQKKnswfy0Z.AQlaFboxe8wJ+6x1GZ.+n9K2.+1CFxeIhquCx7pOER27IPh9mBR7t1FoGvOA7xbE7t4H791rJ59PuvKVRw1WksKB+vwTCeseMrN5Kwq9auIaKWrGnPRGsM.dervGinPMJpGxWkh5s+w6xcWN7kePX9cZ948zP.67+o7mCUyvXPppB26Qe+CTObHfyFC.oXxC3GBAA3D3HnHKUH+AWy+96xkG+6936+C4od3jPx0BOAMBsvJRwxIUV.3JqPrNLztK2GNhtqvROj6xB2GbAJ2kKE01tgXHfg880erLIRsVuFs3Ck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KzrDET0ZfjZMmflJhdaYa0s27QRLl8XaYpHTZqxbNe8IT8HMTkr2oLHQBWWIKsEaEGzh79CSNNLqKcHFCB5nEBcQENNHIcvxkwJrZgZ3QKG8d0UdmZnvwgP2kChrgHPdyHjdps73IpzoCt7csKn653k10G9.dFqcD3s2kCOc71OO+7938cEN3S9e+UomDE4bvVv2SmlvOb0PXLhZc97OLZ7soG4oT2Ry1dIdUZgqfyYDeWtq.qjaHPFU3s4detay8gb4++MYZ9r1Ncj1.+m0b5Vd+uTfEvE1Rf+46kyNhW88o6V+ped6V0OdmbkitntHXnrG3j7ksuo1NV0msRQ7wh8ZUWpwq0dnzdF2tn5yWtSb5YV5Z9SticM7vR9u4zRdEanAvm.hw3MYCnINbwbhoze9eM7e7NhwcSaINeF3i6xNXrNVvNLuqiDGtMKKHXSnqGlB0G6QvToNlw6NSqHsM7TB8nIhww8lyj3RtV3v95TEyd0QEG2Vmp4+j4jOWklu9KWX37jMyobb7OAgIoOReS1zs7DNPCCav.2.XZKyUjM+6XNodJv8GtUd+28Wa+O2+Wdmy07QIHbzhuldZPjoIL9.QRSnsSPHFPccv7KIx76xNN.j2.XpEYGlOXC9bvuHuAXn5dvehOmOFlUnqQjsV3mRULkS7ICo.9ZNYo7tP3BI4ZP8Kf+H0yxej94Zw9YB2uM6.Xnt0yi2W8L3E2u8qMdOwF+trbll.8vKf8lr7ydoTu+E.kQtQgPzp9Z31iztSoHGE7GjnCvHAgeGIHsQMs0+jL04FWE.x3fv+E+6jQ5T4LmLRe1HtwT228G0O9xeJe+eyAMXLgN7oN2h+lKrb9O9he1rTjTouL.+Qc8zqhumlf34iozKHlxufXp7Bho5KHlZufXp+BhowWLlzu.jIJz83FZ7Cz9C3NL.NSFNjFtK6PGIw+CfI5NF1

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

            By Resizing The UI To X2 The Animation Looses The Quality!!!
            But, What's Up, It Should Work As Animated SVG Files, Right? With No Fuzziness!!!

            1 Reply Last reply Reply Quote 0
            • S
              Sawer @Natan
              last edited by

              @Natan Hi
              Found the file but I don't know in which specific file to place (there are a lot of "lib" folders)Screen Shot 2021-02-15 at 16.06.12.png

              S 1 Reply Last reply Reply Quote 0
              • S
                Sawer @Sawer
                last edited by

                @nesta99 Any hint please?

                ustkU 1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @Sawer
                  last edited by

                  @nesta99 There should be only one in your computer called /usr/local/lib/ ;)

                  Untitled.png

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

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    Sawer @ustk
                    last edited by

                    @ustk Thanks man!

                    As you can see here, i cant drag and drop. Please do you know the reason?

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

                      @nesta99 Try copy paste instead.

                      How do you add the rlottie library to your installer so that the end user can see the animations?

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

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

                        I've added the library to packages as shown in the image, but it's not being installed, any ideas?

                        Screen Shot 2021-02-17 at 10.58.06 PM.png

                        Is this one of those situations where I need to use a post install script?

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

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sawer @d.healey
                          last edited by

                          @d-healey Working now. Ahaha don't know how/were to start tho.
                          Screen Shot 2021-02-18 at 11.04.15.png

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

                            I found a solution for the installer. I just added the library as a separate package and gave it "librlottie" as the identifier. I also set the package to be required. I'll add this to my exporter tool when I do the next round of updates.

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

                            ? 2 Replies Last reply Reply Quote 3
                            • S
                              Sawer
                              last edited by

                              Hi everyone. Screen Shot 2021-02-20 at 18.34.26.png

                              After having the desired animation and the compressed file, how can i Load it to the panel Please?

                              Any help is appreciated. Thanks

                              S ulrikU 2 Replies Last reply Reply Quote 0
                              • S
                                Sawer @Sawer
                                last edited by

                                @nesta99 please guys, any idea?

                                1 Reply Last reply Reply Quote 0
                                • ulrikU
                                  ulrik @Sawer
                                  last edited by

                                  @nesta99 I think you should press "Compress" and copy the data.
                                  then in Hise you make a reference to it like this:

                                  const var animData = ("here goes your compressed data");
                                  

                                  in the panel:

                                  panel.setAnimation(animData);
                                  

                                  Hise Develop branch
                                  MacOs 15.3.1, Xcode 16.2
                                  http://musikboden.se

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    Sawer @ulrik
                                    last edited by

                                    @ulrik thanks a lot. Will try it now!

                                    1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User @d.healey
                                      last edited by

                                      @d-healey 🙏💪👍

                                      d.healeyD 1 Reply Last reply Reply Quote 0
                                      • d.healeyD
                                        d.healey @A Former User
                                        last edited by

                                        @UrsBollhalder Huh, what you want?

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

                                        ? 1 Reply Last reply Reply Quote 0
                                        • ?
                                          A Former User @d.healey
                                          last edited by A Former User

                                          @d-healey I should have quoted your reply. Your solution on how to include the lottie library in packages just saved my life!

                                          d.healeyD 1 Reply Last reply Reply Quote 1
                                          • d.healeyD
                                            d.healey @A Former User
                                            last edited by

                                            @UrsBollhalder Aha now I get it. @Christoph-Hart mentioned at some point rlottie might be included directly in HISE (now that that the rlottie license is compatible) so we don't have to deliver it to the user with each install.

                                            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

                                            18

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.8k

                                            Posts