Login | Register 

Can I use touch and javascript to create an interface?

General discussion about anything TouchDesigner

Can I use touch and javascript to create an interface?

Postby dantruong02 » Thu Jan 18, 2018 3:34 am

I know cinema 4d and I am looking to learn Javascript.. and I am interesting in touchdesigner...

I was wondering if it is possible to use javascript inside touchdesigner in order to import assets from cinema 4d and make the interactive, then use touchdesigner as the multi touch platform?

is it possible? Is this even a suggested workflow? what do you recommend?

thank you for your time.
Posts: 1
Joined: Thu Jan 18, 2018 3:31 am

Re: Can I use touch and javascript to create an interface?

Postby raganmd » Thu Jan 18, 2018 7:42 am

The answer here is one of those Yes and No situations.

The default scripting language in Touch is python. Touch is also built around a openGL context framework with a complete set toolkit for creating control panels and interaction points. Directly inside of the touch environment, creating a UI with javascript is not possible.

It is, however, possible to use node.js to host an interactive control panel that communicates back and forth with touch. Many developers take that route - especially if they need a remote interaction point that isn't going to be directly on the machine being used.

Python is really a better bet if you want to do things directly in Touch itself.

You might look at the intro to TouchDesigner book:

Or some of these learning materials to get your bearings:
https://matthewragan.com/teaching-resou ... hdesigner/
Posts: 1364
Joined: Thu Mar 28, 2013 5:21 am
Location: San Francisco, CA

Return to General TouchDesigner Discussion

Who is online

Users browsing this forum: No registered users and 5 guests