• 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

    [ANSWERED] How to circle an object?

    How To... ?
    5
    10
    1528
    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.
    • E
      Eva last edited by Juriaan

      Hi There,
      I am trying to find a good way to circle an object, in this case it is e.g. a paper plane, that i would like to appear to fly in circles:) But how is this done. I can see there is an actor called Circular Path, but is this what I will need? Or is there another way. I would need to turn the plane as it circles - is this possible?

      Thanks for any help, kindest people:)
      All the best
      Eva

      Eva Esmann Behrens
      Labtop: Macbook pro (Retina) 2015, 2,7 GHz,8 GB, MacOS Mojave
      Mac Studio

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

        @eva

        Hi Eva,

        I think I can offer a solution to this one. To head along a circular path calculate the angle as demonstrated in the examples attached. The Circular Path macro is available from the Add-ons: https://troikatronix.com/add-o...

        patch download: follow-circular.zip

        Best Wishes
        Russell

        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

        Juriaan 2 Replies Last reply Reply Quote 1
        • Juriaan
          Juriaan Tech Staff @bonemap last edited by Juriaan

          @Eva

          Hi there, 

          So the basic math to get the X and Y coordinates of an circle with radius r is the following

          a is the angle in degrees, a circle goes from 0 till 360

          (x, y) = (r * sin(a), r * cos(a))

          In the attached Isadora document you will find a patch that attempts to draw a circle, please be aware that it is locked to the aspect ratio at the moment. Since 1920 x 1080 with an coordinate system of -100 till 100 (Aspect ratio ON!) will make a oval and not a circle.

          • The red dot is our origin (0, 0)
          • The green dot is an point at the circle.
          • The grey line is the 'r' (radius) that is currently set to 25.

          circle-explain.izz

          If you have any questions please feel free to ask!


          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
          • Juriaan
            Juriaan Tech Staff @bonemap last edited by Juriaan

            @bonemap

            Thanks for sharing! Amazing resource.

            @Eva Bonemap also adds an rotation to the object itself making the 'nose' of the object always follow the path. The example that I provided doesn't do that.

            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 0
            • E
              Eva last edited by

              @bonemap

              This is really nice! Thank you! I it looks nice:) I am having a challenge though playing what you have sent to download as I am told it is saved in a newer version. I have though just updated Isadora to the latest version. But I can try and build it as explained...

              @Juriaan

              Great, I will go through this. Thank you for taking the time to also explain the math:)

              You two are great!

              Eva Esmann Behrens
              Labtop: Macbook pro (Retina) 2015, 2,7 GHz,8 GB, MacOS Mojave
              Mac Studio

              E 1 Reply Last reply Reply Quote 2
              • E
                Eva @Eva last edited by

                @bonemap

                Sooo I have tried to build the patch after your example, but for some reason, the paper plane spins faster than it does in yours... I must have some setting that is not quite right - but since this is new I am a bit unsure... can you help?
                All the best Eva

                Eva Esmann Behrens
                Labtop: Macbook pro (Retina) 2015, 2,7 GHz,8 GB, MacOS Mojave
                Mac Studio

                DusX dbini bonemap 3 Replies Last reply Reply Quote 0
                • DusX
                  DusX Tech Staff @Eva last edited by

                  @eva

                  I am preparing to release this to the Add-Ons page, but I'll drop it here for you all now. It's just a number of user actors I use for circular motion/rotation.

                  dx_circular-motion.izz

                  It needs more comments, so if you have questions please ask, and I will add notes to the file before posting it officially.

                  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 1
                  • dbini
                    dbini @Eva last edited by

                    @eva
                    the Spin input on the projector defaults to min -360 / max 360. Russell probably has his set to min zero / max 360

                    John Collingswood
                    taikabox.com
                    2019 MBPT 2.6GHZ i7 OSX15.3.2 16GB
                    plus an old iMac and assorted Mac Minis for installations

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

                      @eva

                      Hi Eva,

                      The properties of the 'spin' input of the Projector will likely need to be adjusted depending on the orientation of your image. In my example patch it is set to Scale Min: -90, Scale Max: 270.

                      It may help to orient your image similarly to the arrow .tiff in my download - by rotating the image in Photoshop so that the nose of the paper plane image is pointing to the right, the calibration of the properties will be the same as my example.

                      Best Wishes

                      Russell

                      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
                      • bonemap
                        bonemap Izzy Guru @DusX last edited by

                        @dusx

                        Hi Ryan,

                        Thanks for posting your javascript solutions for circular motion again. I was on to these already, having retrieved a patch yesterday where I used your javascript code from a previous forum thread similar in nature to this one. It is great to get deeper insight/ learning experience from the diverse ways that solutions can be implemented. The challenge here is calculating the heading or nose of the graphic/image following the circle as a direction. And the benefit of your javascript solution is the potential to stop or pause the motion without residual angles being introduced to the orientation of the graphic - so that is a +1.

                        The patch attached here implements your javascript to achieve the directional angle for a image following a circular path, it also rehearses @Juriaan neat circle math: 

                        follow-circular-javascript.zip

                        Best Wishes,

                        Russell

                        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 2
                        • First post
                          Last post