FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   video width and height?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: video width and height?  (Read 264 times)
jamel

Email
video width and height?
« on: Feb 24th, 2004, 3:35pm »

How can I change the size of a loaded video? I would like to grab a frame of the video (on every frame), scale it to smaller or bigger and randomly position it.
 
thanks
« Last Edit: Feb 24th, 2004, 3:36pm by jamel »  
mKoser

WWW Email
Re: video width and height?
« Reply #1 on: Feb 24th, 2004, 4:20pm »

try looking at replicate: http://processing.org/reference/replicate_.html
 

mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
toxi

WWW
Re: video width and height?
« Reply #2 on: Feb 24th, 2004, 4:30pm »

or also just...
 
Code:
image(video,random(width),random(height),random(width),random(height));
 

http://toxi.co.uk/
mKoser

WWW Email
Re: video width and height?
« Reply #3 on: Feb 24th, 2004, 7:00pm »

...ah of course!
 

mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
Pages: 1 

« Previous topic | Next topic »