This feature request is for a node that is able to accept Python code.

Instead of accepting different input types, (such as lists etc) it may be really useful to simply allow this node to parse Json, as a way of controlling composition flow, etc.

Considering that Python would not be fast enough, (pure Python) for image / audio processing, using Python as a control language for Vuo could make more sense.

There are already many tools within Python to work with Json already, so this could be very useful as IIRC that Vuo already uses Json as the format to connect nodes together?

Also there are many external libraries (such as NumPy) that do allow fast processing of data, so possibly we could access different types of Vuo data simply from the Json string?

Component: 

Notes from Team Vuo

Vuo Pro: 

No — available with both Vuo and Vuo Pro licenses

Complexity: 

●●●○ — A few months of work

Potential: 

●●○ — Could expand community

Comments

@alexmitchellmus yep. In the

useful design's picture
Submitted by

@alexmitchellmus yep. Certainly Python is popular in 3D/science and has lots of function libraries etc.

In the early days of pre-alpha Vuo I was naively musing about how it could be a multi-language platform where people could pull code from different places in a bunch of languages like Python, R, JS, whatever and shuffle data between them and then put it into the visual nodes of Vuo for display. Especially if it became easy to build a data dashboard and/or GUI in Vuo like say it is in, Origami (think Qt without the code). Compile to app makes it quite desirable, especially if more platforms opened up as compile candidates.

I'm wondering if Javascript might be more suited, it tends to execute much faster, although I guess speed wont be the thing for number crunching, there's always C for that, and it's the most well known CS language around.

QC is known to have issues around the JS patch, Bonix found half their BonixTV crash reports were associated with the JS patch so they wrote their own Lua patch (which is also faster). That reduced the number of crash reports too IIRC.

I think with Node.js becoming so popular so other implementation of JS for a Vuo node other than the questionable Apple engine would be possible.

Feature status

When we (Team Vuo) plan each release, we try to implement as many of the community's top-voted feature requests as we have time for. Vote your favorite features to the top! (How do Vuo feature requests work?)

  • Submitted to vuo.org
  • Reviewed by Team Vuo
  • Open for community voting
  • Chosen to be implemented
  • Released