• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [SOLVED] circular trajectory

    How To... ?
    6
    24
    8651
    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.
    • camilozk
      camilozk last edited by Woland

      I would like to describe a circular trayectory with a shape.


      I am trying to do it by modifying the horizontal and vertical position of the shape, and I thought I might need a "curvature" actor to do so, but I have no idea which values to put in the actor. 


      someone?

      :)

      i5 M520 @ 2.40GHz / 4Gb Ram / Win 7 - izzy 2.2.2
      i7 7700HQ @ 2.8GHz / 16Gb Ram / Win 10 - izzy 2.6.1 / GeForce GTX 1060
      AMD Ryzen 7 5800H / 16Gb Ram / Windows 11 / Radeon Graphics 3.20 GHz

      1 Reply Last reply Reply Quote 0
      • Juriaan
        Juriaan Tech Staff last edited by

        @camilozk 

        cos motion -> constant + cos(angle) * scalar. Sin motion is the same.
        Sin motion + cos motion = Circular motion

        Personally I'm a coder so I use JavaScript for this kind of calculations, yes you can patch this with normal Isadora actors, but I had like 5 minutes in the train ;)

        In Isadora :



        JavaScript code :

        var contstant         =    250;
        var angle             =    0.05;
        var scalar             =    100;
        var speed             =    0.025;

        function main()
        {
            var x             =    contstant + Math.sin(angle) * scalar;
            var y             =    contstant + Math.cos(angle) * scalar;
            angle             =    angle + speed;
            
            return [x, y]
            
        }


         

        Isadora 3.1.1, Dell XPS 17 9710, Windows 10
        Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
        Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

        1 Reply Last reply Reply Quote 2
        • bonemap
          bonemap Izzy Guru last edited by bonemap

          Hi,

          Here is another solution for circular motion.

          Machine for pumping circles:

          Using 2 x 'Wave Generator' to move objects in a circular motion. Keep the wave as 'sine'. Off-set the 'phase' input of one 'Wave Generator' to 25. Patch to your 'horz pos and 'vert pos' inputs. Match the frequency input to change the speed of rotation.You may need to simultaneously trigger the reset on both 'wave generators' to keep the play in sync.  

          To extend this with a bit more control: Use a set of 'limit-scale value' actors to adjust the size of the circular path. 

          Moving objects in circular motion with Isadora from Bonemap on Vimeo.

          Best WIshes

          Bonemap

          http://bonemap.com | Australia
          Izzy STD 4.2 | USB 3.6 | + Beta
          MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
          Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
          A range of deployable older Macs

          D camilozk 2 Replies Last reply Reply Quote 3
          • Juriaan
            Juriaan Tech Staff last edited by

            Nice one @bonemap 

            Isadora 3.1.1, Dell XPS 17 9710, Windows 10
            Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
            Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

            1 Reply Last reply Reply Quote 1
            • D
              DillTheKraut @bonemap last edited by

              @bonemap

              Very nice and fun to play with!
              As well a good test for frame drops ;-)

              1 Reply Last reply Reply Quote 1
              • camilozk
                camilozk @bonemap last edited by

                @bonemap


                I have replicated the example but my trayectory is not circular. what am I doing wrong? cant see the mistake...

                i5 M520 @ 2.40GHz / 4Gb Ram / Win 7 - izzy 2.2.2
                i7 7700HQ @ 2.8GHz / 16Gb Ram / Win 10 - izzy 2.6.1 / GeForce GTX 1060
                AMD Ryzen 7 5800H / 16Gb Ram / Windows 11 / Radeon Graphics 3.20 GHz

                bonemap 1 Reply Last reply Reply Quote 0
                • bonemap
                  bonemap Izzy Guru @camilozk last edited by bonemap

                  @camilozk said:

                  cant see the mistake

                   Hi,

                  You have not made a mistake, but if you look at my patch there is a ‘Background Color’ actor (it is set to be transparent) that has the inputs to 2500 hors size and 2500 vert size. It is this constraint that is forcing the Shape actor into a square ratio and therefore a circular path. With the Shapes actor default of 1920 x 1080 the path created takes a more oval trajectory.

                  Best Wishes 

                  Bonemap 

                  http://bonemap.com | Australia
                  Izzy STD 4.2 | USB 3.6 | + Beta
                  MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
                  Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
                  A range of deployable older Macs

                  1 Reply Last reply Reply Quote 1
                  • camilozk
                    camilozk last edited by

                    got ya!

                    thanks!!!

                    i5 M520 @ 2.40GHz / 4Gb Ram / Win 7 - izzy 2.2.2
                    i7 7700HQ @ 2.8GHz / 16Gb Ram / Win 10 - izzy 2.6.1 / GeForce GTX 1060
                    AMD Ryzen 7 5800H / 16Gb Ram / Windows 11 / Radeon Graphics 3.20 GHz

                    bonemap 1 Reply Last reply Reply Quote 0
                    • bonemap
                      bonemap Izzy Guru @camilozk last edited by bonemap

                      @camilozk

                       You can also use the 'hor size' and 'vert size' parameters of the Shape actor itself that will also change the video output ratio to a square.

                      You might be interested in this drawing machine that uses the same principle, adding a 'Live Drawing' actor and a modulating width line while drawing a long spiral path.

                      best wishes

                      bonemap

                      http://bonemap.com | Australia
                      Izzy STD 4.2 | USB 3.6 | + Beta
                      MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
                      Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
                      A range of deployable older Macs

                      1 Reply Last reply Reply Quote 1
                      • DusX
                        DusX Tech Staff last edited by DusX

                        This User Actor might be useful to some of you.

                        DX - JS - Draw Circle by degrees and radius.iua


                        NOTE: the X+Y factors allow you to compensate for the non Square units generally used with standard projectors (100% width is not the same as 100% height.)
                        Setting one of these factors to the ratio of the width and height will correct for this.
                        If controlling the animation path of a 3D Player/Projector/Virtual Stage, you need to use X+Y factors of 1 (for circular motion)... you can of course adjust these for elliptical paths.

                        Troikatronix Technical Support

                        • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                        • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
                        • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

                        Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

                        bonemap 1 Reply Last reply Reply Quote 2
                        • bonemap
                          bonemap Izzy Guru @DusX last edited by

                          @dusx said:

                          might be useful to some of you

                           Thanks for the javascript enabled user actor. I have tried it in this drawing machine, works a treat!

                          best wishes

                          bonemap

                          http://bonemap.com | Australia
                          Izzy STD 4.2 | USB 3.6 | + Beta
                          MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
                          Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
                          A range of deployable older Macs

                          tomthebom DusX 2 Replies Last reply Reply Quote 2
                          • tomthebom
                            tomthebom @bonemap last edited by

                            @bonemap

                            Any chance to get the lower part of your screenshot? Best regards, Tom

                            Izzy 3.2.6 ARM on MBP14'/2023/M2 Pro/ macOS 13.5

                            bonemap 1 Reply Last reply Reply Quote 1
                            • DusX
                              DusX Tech Staff @bonemap last edited by

                              @bonemap
                              that looks fantastic! Love it.
                              Glad to have helped.

                              Troikatronix Technical Support

                              • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                              • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
                              • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

                              Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

                              1 Reply Last reply Reply Quote 0
                              • bonemap
                                bonemap Izzy Guru @tomthebom last edited by bonemap

                                @tomthebom said:

                                get the lower part

                                 Hi,

                                As you can see in the composite screengrab below, the patch is a repetition of the first section layered a number of times and the 'degrees' parameters of DusX user actor adjusted for each section of the pie through a Limit Scale actor.


                                best wishes

                                bonemap

                                http://bonemap.com | Australia
                                Izzy STD 4.2 | USB 3.6 | + Beta
                                MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
                                Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
                                A range of deployable older Macs

                                tomthebom 2 Replies Last reply Reply Quote 2
                                • tomthebom
                                  tomthebom last edited by

                                  Wooooowww! What a beauty!!! Thanks for sharing ;o)

                                  Izzy 3.2.6 ARM on MBP14'/2023/M2 Pro/ macOS 13.5

                                  1 Reply Last reply Reply Quote 1
                                  • tomthebom
                                    tomthebom @bonemap last edited by

                                    @bonemap

                                    Just changed drawing direction on every second module... What a nice tool!

                                    Izzy 3.2.6 ARM on MBP14'/2023/M2 Pro/ macOS 13.5

                                    1 Reply Last reply Reply Quote 2
                                    • tomthebom
                                      tomthebom @bonemap last edited by

                                      @bonemap

                                      One more question: Your patterns are created by letting the drawings overlap each other. This works fine for most of the circle, but how would one create an overlay through Zero, lets say from 330deg to 390 deg, or -30deg to +30deg?

                                      DusX JS user actor only allows values between 0-360deg...

                                      Best regards, Tom

                                      Izzy 3.2.6 ARM on MBP14'/2023/M2 Pro/ macOS 13.5

                                      bonemap DusX 2 Replies Last reply Reply Quote 0
                                      • bonemap
                                        bonemap Izzy Guru @tomthebom last edited by

                                        @tomthebom

                                        That is a question for @DusX . I thought the JavaScript might be modified to accommodate that. For example if the parameter limits went to 720 degrees

                                        Best Wishes 

                                        Bonemap 

                                        http://bonemap.com | Australia
                                        Izzy STD 4.2 | USB 3.6 | + Beta
                                        MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
                                        Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
                                        A range of deployable older Macs

                                        1 Reply Last reply Reply Quote 0
                                        • camilozk
                                          camilozk last edited by

                                          THAT IS LOVELY!!!

                                          lots to play with here!!!

                                          i5 M520 @ 2.40GHz / 4Gb Ram / Win 7 - izzy 2.2.2
                                          i7 7700HQ @ 2.8GHz / 16Gb Ram / Win 10 - izzy 2.6.1 / GeForce GTX 1060
                                          AMD Ryzen 7 5800H / 16Gb Ram / Windows 11 / Radeon Graphics 3.20 GHz

                                          1 Reply Last reply Reply Quote 0
                                          • DusX
                                            DusX Tech Staff @tomthebom last edited by DusX

                                            @tomthebom

                                            I made another User Actor to address this issue. I'm sure there are other ways, but this gives endless circular motion with increasing or decreasing values.
                                            DX - Radians to Degrees LOOPED.iua  (remember that a circle is 2pi radians, so a range of 0 thru ~6.283 outputs 0 thru 360 degrees)

                                            PS: you can daisy-chain the 'JS draw circle..' actor to create structures like solar systems with moons etc..

                                            Troikatronix Technical Support

                                            • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                                            • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
                                            • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

                                            Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

                                            bonemap tomthebom 2 Replies Last reply Reply Quote 2
                                            • First post
                                              Last post