• 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

    Processing & JavaScript

    How To... ?
    10
    25
    10780
    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.
    • DusX
      DusX Tech Staff last edited by

      No,

      The javascript actor does not have access to the DOM (the browsers Document Object Model), this is where all visuals like webGL, html rendering occur.
      Processing.js requires a DOM (supplied by a modern browser)
      On this page, you can see that Javascript if broken in to sections: http://www.w3schools.com/js/js_window.asp
      The javascript actor gives you access to all the standard language features.  processing.js would require a browser to render the output.

      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
      • Bill Cottman
        Bill Cottman last edited by

        Thank you. Therefore I should stop learning Processing and start learning JavaScript if my ultimate goal is to use the code in Isadora. Correct??

        http://www.BillCottman.com : Isadora3.0.8f09 with MBP OS X 10.11.6 in Minneapolis, MN

        1 Reply Last reply Reply Quote 0
        • Armando
          Armando Beta Gold last edited by

          No Vanderzee,

          it is 2 very different things. Processing is to producer graphics (especially generative graphics). Javascript in Isadora is more for calculations, more complex text comparisons that one offered by the text comparator and the text parses options as far as I understand

          Armando Menicacci
          www.studiosit.ca
          MacBook Pro 16-inch, 2021 Apple M1 Max, RAM 64 GB, 4TB SSD, Mac OS Sonoma 14.4.1 (23E224)

          1 Reply Last reply Reply Quote 0
          • Bill Cottman
            Bill Cottman last edited by

            Thanks. I'm beginning to sort some things out. I played with Quartz Composer for several hours and created a bouncing sphere and got it into Izzy as a QC "user actor" with inputs for x,y,z lighting position and sphere size! I think that will take me a very long time to do with Processing but I still need competence in Processing to code the algorithms in installation I'm creating. Excited!

            http://www.BillCottman.com : Isadora3.0.8f09 with MBP OS X 10.11.6 in Minneapolis, MN

            1 Reply Last reply Reply Quote 0
            • N
              nick last edited by

              Its totally possible to run a Processing sketch outside of Isadora and have it communicate through OSC. Means the startup may be slightly more complicated (which can be an issue if it is left to be run by others).

              MacBook Pro 11.5.2

              1 Reply Last reply Reply Quote 0
              • Bill Cottman
                Bill Cottman last edited by

                Thanks Nick. I have tinkered with Processing + Syphon Server and Isadora Syphon actors.

                http://www.BillCottman.com : Isadora3.0.8f09 with MBP OS X 10.11.6 in Minneapolis, MN

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

                  I have written a patch in Processing that communicates with Isadora over OSC in both directions. It also outputs the Processing video stream over Syphon, so that I can pick it up in Isadora and carry on playing with it there. The Processing patch still needs some work, and to use it, you would need some medium level of understanding of Processing language (a form of java) and how to install libraries etc. When its ready I will share it... but not quite yet... I am using it in an upcoming gallery project and a research project, but will release it after I get through all that.

                  Pro-User Latest Beta - MacBook Pro i7 2.66GHz SSD
                  www.jamiegriffiths.com Arctic Canada
                  www.chickweedarts.com

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

                    @vanderzee we have solved Processing communication with Isadora over OSC, PHP, Syphon a year ago, remember? I think this was not your question now.

                    My result java (Processing) gives me poor performance, I use openGL QC patches instead very powerful.
                    greetings rainbow
                    1 Reply Last reply Reply Quote 0
                    • Bill Cottman
                      Bill Cottman last edited by

                      @rainbow: Yes I have followed the Isadora, Processing, Syphon thread on the forum. I understand how to do that.

                      Currently, I'm trying to decide between Isadora, Processing and Quartz Composer which is the best solution for a project I'm developing. Perhaps a combination of all three will be my solution. The project requires alphanumeric inputs from the participant, data storage and execution of several emergence theory algorithms and the creation & projection of data visualizations. I've been frustrated with Izzy's Data Array Actor and my inability to get repeatable results. Several forum members have given me ideas for using this actor, but I've not mastered it yet.
                      Thanks.

                      http://www.BillCottman.com : Isadora3.0.8f09 with MBP OS X 10.11.6 in Minneapolis, MN

                      1 Reply Last reply Reply Quote 0
                      • Skulpture
                        Skulpture Izzy Guru last edited by

                        "several emergence theory algorithms" sounds complicated @vanderzee

                        There will be no harm in learning processing that's for sure. 

                        Graham Thorne | www.grahamthorne.co.uk
                        RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
                        RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
                        RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

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

                          QC and Max work great for all installations.

                          1 Reply Last reply Reply Quote 0
                          • Skulpture
                            Skulpture Izzy Guru last edited by

                            I wouldn't say all instillations, not for QC anyway. QC can be buggy and a bit experimental. Max is better in my opinion.

                            Graham Thorne | www.grahamthorne.co.uk
                            RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
                            RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
                            RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                            1 Reply Last reply Reply Quote 0
                            • Bill Cottman
                              Bill Cottman last edited by

                              @Skulpture: will trade 1+x beers for a Data Array Actor tutorial. X = ?

                              http://www.BillCottman.com : Isadora3.0.8f09 with MBP OS X 10.11.6 in Minneapolis, MN

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

                                I have been planning a Data Array tutorial/walk thru...
                                Its currently on my short list of tutorials to write.

                                I'm holding back because I am experimenting with using Javascript to automate the read/write of lists of data a little.. How do you imagine using the Actor? The more I understand peoples needs the better I can approach it.

                                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
                                • rainbow
                                  rainbow last edited by

                                  @DusX, I am curious how you automate read/write/erase function for data array actor, I know how to use the data array actor, very tricky task, I used for one installation years ago, I developed a different tool outside of Isadora to read/write data via OSC works great. :)

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

                                    Data array tutorial sounds great

                                    Alexander Nantschev | http://www.crystalhorizon.at | located in Vienna Austria

                                    1 Reply Last reply Reply Quote 0
                                    • Skulpture
                                      Skulpture Izzy Guru last edited by

                                      @vanderzee I will always help you out when I can. Regardless of beers ;)

                                      But I actually haven't used the actor that much. I tested it out a bit and did that short tutorial on my blog but the type of stuff you are doing sounds pretty complex (to me anyway).
                                      I am sure you will find a solution.

                                      Graham Thorne | www.grahamthorne.co.uk
                                      RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
                                      RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
                                      RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

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

                                        For Javascript automation,

                                        I am hoping to be able to define a 2d array in Javascript and automate the setting saving of this data. I want to be able to write full rows (or defined ranges) of data in one go, as well as, read ranges of data easily.

                                        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
                                        • Bill Cottman
                                          Bill Cottman last edited by

                                          @Skulpture: Thanks.

                                          @DusX: I am interested in seeing the code for this Array. Do you expect it to run in the Izzy Javascript actor? Do you expect it to run in Processing?

                                          http://www.BillCottman.com : Isadora3.0.8f09 with MBP OS X 10.11.6 in Minneapolis, MN

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

                                            Hello,

                                            Perhaps that can help you about data array.
                                            I use it extensively when I prepare Isadora patch and I want to record some parameters for a person not able to save the path (demo version or protected patch). Also because you can every-time save it without to move something… Sometime, but rarely, I edit the data externally.
                                            The data array is in "settingSuivi" scene and inside the 3 "mapping/…" user actors.
                                            They are used with an iPhone trough touchOSC as to be able to set the mapping on stage to be more precise.
                                            The "settingSuivi" is then activated when necessary and video and intensity sent by broadcasters.
                                            Hope that help, Jacques

                                            d5c0c6-parlement11.izz

                                            Jacques Hoepffner http://hoepffner.info
                                            GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
                                            MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
                                            MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
                                            MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

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