• Isadora
  • Get it
  • Forum
  • Help
  • Plugins
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

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

    sunset issue

    How To... ?
    time of day iss
    4
    12
    1893
    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.
    • gapworks
      gapworks last edited by

      dear all, 

      I'm currently working on a galerie space installation which will run for exactly one year! the performance installation will start every day at 10am. i use the time of day tool to change the scenes. 

      but the sunset (an important cue will change over the seasons. anyone has any experience with this or do i need to program month 1-12? not very convenient!

      thanx for help

       

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

        Time and Date.com has an API service>>> https://www.timeanddate.com/se... 

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

          @dbini thanx for your hint but there is no internet available in this space! can i tell isadora to change a file according to date. like even 1st of a month?

          best

          Reply Quote 0
            1 Reply Last reply
          • Juriaan
            Juriaan Beta Platinum last edited by

            Hi there,

            A bit of JavaScript and you are all set :) Let me know what you need exactly, and I can invest some of my time tonight in it.

            - Juriaan

            Reply Quote 0
              gapworks 1 Reply Last reply
            • gapworks
              gapworks @Juriaan last edited by

              @juriaan Hi, as i said we a starting a 1 year long installation in a gallery space in vienna. Everyday at 10am a performer will start the computer with 2 programms on it! isadora and abelton live!

              i have 4-6 light cues via dmxking on isadora. the opening 2 cues during the day are not a problem. they work fine with the "time of day" actor. where i will get into trouble is when the sunset shifts! as the

              main cue will be during this time. as i said i can program 12 files one for every month, but its not ver convenient. and there is no wifi in the space!

              best

              Reply Quote 0
                1 Reply Last reply
              • Juriaan
                Juriaan Beta Platinum last edited by

                Hi there Gap,

                Got ya. Working on a piece of JavaScript code for you. Basically what we need is the position in the world (The latitude and the longitude), the timezone and the Date (Year-Month-Day) that we wish to calculate..

                Our output then tells us the hour, minutes and seconds when the sun will go up.

                - Juriaan

                Reply Quote 0
                  gapworks 1 Reply Last reply
                • GertjanB
                  GertjanB Beta Platinum last edited by

                  Hi,

                  The sunset is basically a curve during the year so if it doesn't has to be super precise maybe you can use minimum in december and a maximum in June and than with a limit scale and value curver you can make an approximate time of sunset?

                  Groeten Gertjan

                  Reply Quote 0
                    1 Reply Last reply
                  • gapworks
                    gapworks @Juriaan last edited by

                    @juriaan sorry i need the sun going down ;) but thanx for your help!

                    Reply Quote 0
                      1 Reply Last reply
                    • Juriaan
                      Juriaan Beta Platinum last edited by

                      IzzySun is an quick actor that I made for this purpose :) it uses the code of SunCalc (https://github.com/mourner/sun...) that I edited to work with Isadora. Follow the instructions inside the file to get started.

                      As always, let me know if you are missing something / have questions / feedback / etc !

                      - Juriaan

                      Reply Quote 2
                        gapworks 2 Replies Last reply
                      • gapworks
                        gapworks @Juriaan last edited by

                        @juriaan i sent you an email!

                        Reply Quote 0
                          1 Reply Last reply
                        • gapworks
                          gapworks @Juriaan last edited by

                          @juriaan thank you so much! i can't wait to try it tomorrow! for this project  we decided to manually change time every week and also the cues. but its perfect for an upcoming outdoor project.

                          i put it here as i guess other users also will appreciate this actor a lot! you are great!

                          IzzySun Trigger.izz

                          Reply Quote 1
                            1 Reply Last reply
                          • Juriaan
                            Juriaan Beta Platinum last edited by

                            Hi there @gapworks,

                            It was my pleasure, was a fun little project that didn't cost a lot of time :) Enjoy !

                            - Juriaan

                            Reply Quote 1
                              1 Reply Last reply