<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[ANSWERED] Increase possible number of output ports for Javascript module]]></title><description><![CDATA[<p>Hi,</p>
<p>It appears that Javascript is very efficient for moving 3d Models in Isadora, and there is the potential for introducing edge collision physics through this method (as demonstrated by <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/235">@marci</a> back in 2015). Using 3 output ports for each 3D models x y z movement, currently a limitation is quickly reached. This is a request to have the ability to increase the number of output ports associated with the Javascript actor. Considering that currently, maxing out the Javascript actor with 99 output ports, shows a load rating of under 5% using simple 3d models e.g low polygon count torus, sphere, heart shapes a possible output port limit of 600 would be good (for a maximum of 200, 3d models on the stage).</p>
<p><img src="/assets/uploads/files/1632971952663-screen-shot-2021-09-30-at-1.02.35-pm.png" style="cursor:pointer" /><br /></p>
<p>Best Wishes</p>
<p>Russell</p>]]></description><link>https://community.troikatronix.com/topic/7569/answered-increase-possible-number-of-output-ports-for-javascript-module</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 12:55:25 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/7569.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Sep 2021 03:23:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [ANSWERED] Increase possible number of output ports for Javascript module on Wed, 27 Oct 2021 15:47:22 GMT]]></title><description><![CDATA[<p>I know I'm late to the party, but my previous instance of thread necromancy on <a href="https://community.troikatronix.com/topic/2190/send-multiple-values-between-user-actors-with-a-single-patch-cord/5?_=1635348575715" target="_blank">this post</a> might be helpful.</p>]]></description><link>https://community.troikatronix.com/post/47412</link><guid isPermaLink="true">https://community.troikatronix.com/post/47412</guid><dc:creator><![CDATA[Woland]]></dc:creator><pubDate>Wed, 27 Oct 2021 15:47:22 GMT</pubDate></item><item><title><![CDATA[Reply to [ANSWERED] Increase possible number of output ports for Javascript module on Sat, 02 Oct 2021 21:26:56 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/205">@bonemap</a></p><p>I don't remember if this method fixes this or not, but you may want to look at the Javascript native way of creating and parsing JSON.<br /><a href="https://support.troikatronix.com/support/solutions/articles/13000014935-grouping-ungrouping-and-passing-json-values-with-javascript">https://support.troikatronix.c...</a></p>]]></description><link>https://community.troikatronix.com/post/47062</link><guid isPermaLink="true">https://community.troikatronix.com/post/47062</guid><dc:creator><![CDATA[DusX]]></dc:creator><pubDate>Sat, 02 Oct 2021 21:26:56 GMT</pubDate></item><item><title><![CDATA[Reply to [ANSWERED] Increase possible number of output ports for Javascript module on Thu, 30 Sep 2021 23:20:48 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/124">@dusx</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2066">@Juriaan</a></p>
<p>Hi,</p>
<p>Thanks for your insights into these methods.</p>
<p>I am using the following, great to learn new things! However after converting the data to a string - I then have to convert it back to floats to get the coordinates into the 3D Model actor. I have done this with another Javascript actor that takes the 'arguments[]' inputs in a nested array. But is there a way to package/un-package the floats without the second javascript intermediary?</p>
<p><img src="/assets/uploads/files/1633043471232-screen-shot-2021-10-01-at-9.07.29-am.png" style="cursor:pointer" /><br /></p><pre>
});
    var arr = data; 
    var arrayToString = JSON.stringify(Object.assign({}, arr));  // convert array to string
    }
 return(arrayToString);
 }
</pre>]]></description><link>https://community.troikatronix.com/post/47049</link><guid isPermaLink="true">https://community.troikatronix.com/post/47049</guid><dc:creator><![CDATA[bonemap]]></dc:creator><pubDate>Thu, 30 Sep 2021 23:20:48 GMT</pubDate></item><item><title><![CDATA[Reply to [ANSWERED] Increase possible number of output ports for Javascript module on Thu, 30 Sep 2021 16:16:46 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/205">@bonemap</a> said:</p>
<blockquote>Thank you I get it now!</blockquote>
<p> You will love working like this... you can save so much time by bundling parameters you are passing in and out of user actors, especially when you have numerous copies of a specific user actor.</p>]]></description><link>https://community.troikatronix.com/post/47044</link><guid isPermaLink="true">https://community.troikatronix.com/post/47044</guid><dc:creator><![CDATA[DusX]]></dc:creator><pubDate>Thu, 30 Sep 2021 16:16:46 GMT</pubDate></item><item><title><![CDATA[Reply to [ANSWERED] Increase possible number of output ports for Javascript module on Thu, 30 Sep 2021 13:28:23 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2066">@juriaan</a></p><p>Thank you I get it now!</p><img src="/assets/uploads/files/1633008486019-screen-shot-2021-09-30-at-11.24.51-pm.png" /><p>Best Wishes</p><p>Russell</p>]]></description><link>https://community.troikatronix.com/post/47042</link><guid isPermaLink="true">https://community.troikatronix.com/post/47042</guid><dc:creator><![CDATA[bonemap]]></dc:creator><pubDate>Thu, 30 Sep 2021 13:28:23 GMT</pubDate></item><item><title><![CDATA[Reply to [ANSWERED] Increase possible number of output ports for Javascript module on Thu, 30 Sep 2021 08:20:43 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/205">@bonemap</a></p><p>Currently, you are sending floats in your JavaScript. You can actually pack those in your JavaScript actor to JSON and send out an array of points that you require with a certain index.</p><p>So let's say "torus:x1" (XYZ coordinate) with 10 points.. Using a JSON parser we can then grab the index "torus", fill in the number of points that we expect and it returns all the elements in the array.</p>]]></description><link>https://community.troikatronix.com/post/47039</link><guid isPermaLink="true">https://community.troikatronix.com/post/47039</guid><dc:creator><![CDATA[Juriaan]]></dc:creator><pubDate>Thu, 30 Sep 2021 08:20:43 GMT</pubDate></item><item><title><![CDATA[Reply to [ANSWERED] Increase possible number of output ports for Javascript module on Thu, 30 Sep 2021 06:55:48 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2066">@juriaan</a></p><p>Thanks for the suggestion. But I don’t really understand how JSON Parser is going to help as a work around in this context? Any specific pointers would be welcome.</p><p>Best wishes</p><p>Russell</p>]]></description><link>https://community.troikatronix.com/post/47038</link><guid isPermaLink="true">https://community.troikatronix.com/post/47038</guid><dc:creator><![CDATA[bonemap]]></dc:creator><pubDate>Thu, 30 Sep 2021 06:55:48 GMT</pubDate></item><item><title><![CDATA[Reply to [ANSWERED] Increase possible number of output ports for Javascript module on Thu, 30 Sep 2021 06:50:54 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/205">@bonemap</a></p><p>I personally think that this is a general thing that Actor outputs are limited to 99..</p><p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/124">@DusX</a> <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/1435">@Woland</a> Could you log this feature request :)</p><p><br />For now a workaround that you can use;</p><p>- Use JSON! This way you could actually send way more data through your 3D models. Using the JSON  actors that you can find in our Add-ons section.</p>]]></description><link>https://community.troikatronix.com/post/47037</link><guid isPermaLink="true">https://community.troikatronix.com/post/47037</guid><dc:creator><![CDATA[Juriaan]]></dc:creator><pubDate>Thu, 30 Sep 2021 06:50:54 GMT</pubDate></item></channel></rss>