fetching live input data -> viewport update

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
berniebernie
Posts: 33
Joined: February 7th, 2005, 7:32 am
Contact:

November 18th, 2008, 9:05 pm

Would this be remotely possible without the use of a plug-in ?

Can javascript 'catch' a stream of data in the background (or even read from a file periodically) and update the viewport without a manual user update ?

thanks

mlk
Boom boom boom.
Paul Tuersley
Posts: 704
Joined: June 5th, 2004, 7:59 am
Location: London, UK

November 19th, 2008, 3:04 am

Quite possibly. You can use the app.scheduleTask() method to repeatedly execute code after a specified delay. So it should be possible to get it to periodically read a text file, update the project accordingly and do a render.

Paul
Post Reply