Forums > Javascript

rendering video over js sketch

February 10, 2006 | 1:48 am

hi

i’m just investigating sketch
and am wondering if its possible to load video (from webcam and archive of files) using javascript and have it display over sketch…

(subsuquent steps will involve
preserving alpha channel on video if possible….
and potentially mapping video onto open gl as textures and display over a sketch…)

but first things first
is video and js compatible?
(i’ve been thru the examples and haven’t seen any video commands there…)

many thanks
jhave


February 11, 2006 | 12:43 am

> is video and js compatible?
> (i’ve been thru the examples and haven’t seen any video commands there…)

Yes. Did you look at jitter-examples/javascript/?
The js object can take matrix input as well as host an internal instance
of jit.qt.movie.

AB


February 11, 2006 | 7:10 am

thanks

i found
jsui_matriximage.js
in jitter-examples/other

i’m on 1.2.2 jitter
has there been significant advances in docs?

seems as if it could be duplicated and put amongst the js examples as well, might make it easier to find…


Viewing 3 posts - 1 through 3 (of 3 total)