• 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
    1. Home
    2. Tags
    3. javascript
    Log in to post
    • All categories
    • particlep

      shape animation with javascript
      How To... ? • code javascript shapes data • • particlep

      2
      0
      Votes
      2
      Posts
      697
      Views

      DusX

      @particlep

      The JS actor does not have any drawing abilities. It can create streams of numbers for animation, that you would feed to a Shapes actor or Lines actor. But can't create polygons directly.

    • bonemap

      Javascript working with text library patch
      Interfacing • javascript text data sources bonemap • • bonemap

      2
      3
      Votes
      2
      Posts
      793
      Views

      Woland

      @bonemap

      We'd love it if you could upload this to the Add-Ons page if you haven't already <3

    • B

      [ANSWERED] JavaScript Actor - What JavaScript is supported inside the Actor?
      Troubleshooting and Bug Reports • javascript • • bslaght

      5
      0
      Votes
      5
      Posts
      1318
      Views

      B

      @dusx This is amazing and super helpful. Thanks!

    • DusX

      [Demo + User Actor] Working with Sprite Sheets
      How To... ? • javascript sprite sheet • • DusX

      2
      2
      Votes
      2
      Posts
      683
      Views

      bonemap

      @dusx

      Looks interesting! will try it out soon. Thanks for sharing! 

      Best Wishes

      Russell

    • Woland

      How to Generate a Word Cloud from Chat
      How To... ? • glsl shader text draw zoomosc virtual theatre javascript • • Woland

      4
      2
      Votes
      4
      Posts
      1013
      Views

      DusX

      You may also want to find a monospace font to use, this way you can calculate the space required for the word, since each letter will take up equal space. That should allow for a grid like layout to become possible. Rotation will be another monster.

    • plem

      [ANSWERED] Pitch yaw roll to rotation...
      How To... ? • 3d object midi control javascript • • plem

      4
      0
      Votes
      4
      Posts
      1145
      Views

      plem

      @mark

      Great. Flawless. Exactly what I meant.

      Thanks! Peter

    • liminal_andy

      [LOGGED] Max JavaScript Actor Outputs Increase
      Feature Requests • javascript zoomosc osc zoom virtual theatre • • liminal_andy

      8
      1
      Votes
      8
      Posts
      1009
      Views

      mark

      @peuclid

      <3 ;-)

    • bonemap

      [ANSWERED] How do I Read and Decode a JSON Text File?
      How To... ? • javascript • • bonemap

      11
      0
      Votes
      11
      Posts
      2601
      Views

      bonemap

      @mark said:

      feedback that it's working

       Hi,

      Brilliant! 

      I will do some testing exchanging json files on the fly and see how that then propagates throughout a patch.

      Best Wishes

      Russell

    • liminal_andy

      [LOGGED] Allow Custom (or Selectable) Delimiter for Text Accumulator
      Feature Requests • zoom zoomosc virtual theatre control javascript • • liminal_andy

      2
      2
      Votes
      2
      Posts
      721
      Views

      Woland

      We'd love it if you could put this workaround on the TroikaTronix Add-Ons page (link in my signature) :)

      Best wishes,

      Woland

    • mark

      [SAMPLE PATCH] Filtering a List of Text Items with Javascript
      How To... ? • javascript • • mark

      2
      4
      Votes
      2
      Posts
      553
      Views

      Woland

      @mark said:

      Here's an example patch. Using the Edit Text Control on the left, enter the list of items, each one on a new line. Then type a few characters in the center Edit Text Control. The Javascript actor will do a case-insensitive search and show the resulting list of items in the text box on the right.

       Is this already on the Addons page?

    • peuclid

      [CLOSED] Can Javascript pass-through vid-gpu?
      How To... ? • javascript • • peuclid

      7
      1
      Votes
      7
      Posts
      1672
      Views

      peuclid

      @peuclid

      To close this issue. I went ahead using broadcasters/listeners in User Actors and it feels cleaner now and less prone to misconnecting hundreds of lines. Thanks for the advice!

    • peuclid

      Crop-calculator javascript
      Showcase • javascript zoomosc • • peuclid

      7
      3
      Votes
      7
      Posts
      1086
      Views

      peuclid

      @woland

      Thanks. I'll add to the plug-ins, probably this weekend. I'll want to make a little how-to video since it might not be obvious how to use it.

      Also, since I built upon the work shared by @frank522 in his showcase, I'll want to share how simple it is to make scenes from zoom participants. I'm excited about it.

    • Juriaan

      JavaScript - Output that is mutated on 'range' type
      Troubleshooting and Bug Reports • javascript • • Juriaan

      5
      1
      Votes
      5
      Posts
      686
      Views

      Woland

      @Juriaan said:

      Workable for now, but indeed it becomes a bit stupid when we have a greater range.

       Yeah...

      The range data type is really weird and a pain in the but to try to change dynamically.

    • Woland

      [answered] 2D Collision Detection Advice
      How To... ? • interactive gaming logic javascript • • Woland

      6
      0
      Votes
      6
      Posts
      1405
      Views

      DusX

      If you need something much more true to the laws of physics, you can look at this demo:

      The DEMO FILE is zipped with the required Javascript files (all reside in the same folder).
      I have included a number of resource URLs in the JS code, that will be helpful in figuring out how this works.

    • bonemap

      Sharing a demo patch 'Getting' and 'Parsing' data from API URL's
      Interfacing • 3d player data array get url text javascript json parser • • bonemap

      1
      5
      Votes
      1
      Posts
      767
      Views

      bonemap

      Hi,

      In the lockdown, I set myself a challenge to gain some understanding of using data sources available online to create a 'data-driven' Isadora patch. There is a lot of online data available; some are 'open access' and some require an access key or subscription. I have put together a demonstration patch that uses data from multiple open access (non-subscription) sources. They are The World Bank and VirusTracker. [EDIT] VirusTracker API appears to be no longer functional, therefore COVID-19 data is no longer updating in the patch download.

      In creating the demo patch, I have learnt how to use the Text Formatter module to modify the request URL that gets sent to an API data source. It allows for data with different content to be updated based on dynamically changing identifiers in the request URL. For example, comparative information about a specific country requested through a 'country code' of only two characters. The VirusTracker API returns data about individual countries and the statistics associated with the current COVID19 pandemic. The virus data is updated daily. A date format identifies requested statistics from a specific day within the pandemic period. Combining the country code and the date format dynamically in a request URL patched to the Get URL Text modules returns statistics that are then available for display in the Isadora Stage. By automating the construction of the URL that identifies the dataset requested from the API, the data on the Isadora stage transforms into a dynamic representation of changing datasets.

      The success of this learning development is due to the release of new Beta tools made available by @mark and the wisdom of the Guru sessions. The 'JSON Parser Beta', and the three.js 'JS Convert Rotations' module have taken a lot of the pain out of doing this kind of work. "Tip of the hat" to Mark, using one of his expressions of gratitude.

      Kind Regards

      Russell

    • jfg

      [ANSWERED] How to start an external program from Javascript actor ?
      How To... ? • javascript ext. program • • jfg

      8
      0
      Votes
      8
      Posts
      2513
      Views

      mark

      @jfg

      Just so you all know: I've been hestitant to allow actors in Isadora that could allow a patch to do damage to your system, i.e., erase your hard drive. That's why I've avoided things like allowing AppleScript or applications to be launched. To me it feels like a security risk to allow such things. But I am happy to see that the Isadora community always seems to find a way. ;-)

      Best Wishes,
      Mark

    • Salimelo

      JavaScript Actor Output Assign
      How To... ? • javascript javascript out • • Salimelo

      5
      0
      Votes
      5
      Posts
      1347
      Views

      DusX

      Just a quick add. I have tested with both using null and undefined in an attempt to have an output not trigger.
      In both cases Isadora is converting these into false (zero) values. 

    • Salimelo

      JavaScript Trigger Out
      How To... ? • javascript • • Salimelo

      2
      0
      Votes
      2
      Posts
      799
      Views

      Salimelo

      @salimelo said:

      Hi everyone, hope you all are doing fine. Looking for a way to tell the Javascript Actor to send a trigger signal to its output if condition is true, and no signal at all, if condition is false. Any suggestions? THXaLot, kindly, JK

       Situaion solved, I falsy suggested outputting 0 would result in not sending a trigger signal. Instead, not outputting any value at all (I was using if and else) results in not sending a trigger signal either. (means: no else condition at all). THX

    • mark_m

      What associated skills would improve my Isadora skills?
      Off-Topic Discussion • javascript development • • mark_m

      10
      1
      Votes
      10
      Posts
      2356
      Views

      J

      @woland wonderful info. THank you!

    • S

      [ANSWERED] Is it possible to draw a p5.js script within the Javascript actor?
      How To... ? • javascript • • santmart

      5
      0
      Votes
      5
      Posts
      1571
      Views

      S

      Thanks for your reply guys. I will experiment a bit with it!