<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.uni-weimar.de/kunst-und-gestaltung/wiki/index.php?action=history&amp;feed=atom&amp;title=GMU%3AProcessing_im_Park%2FEmilio_Aguas%2Fsample_code_test02</id>
	<title>GMU:Processing im Park/Emilio Aguas/sample code test02 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.uni-weimar.de/kunst-und-gestaltung/wiki/index.php?action=history&amp;feed=atom&amp;title=GMU%3AProcessing_im_Park%2FEmilio_Aguas%2Fsample_code_test02"/>
	<link rel="alternate" type="text/html" href="https://www.uni-weimar.de/kunst-und-gestaltung/wiki/index.php?title=GMU:Processing_im_Park/Emilio_Aguas/sample_code_test02&amp;action=history"/>
	<updated>2026-08-18T00:40:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://www.uni-weimar.de/kunst-und-gestaltung/wiki/index.php?title=GMU:Processing_im_Park/Emilio_Aguas/sample_code_test02&amp;diff=80386&amp;oldid=prev</id>
		<title>EmilioAguas: Created page with &quot;====--- Processing3.0 Code--- ====  Just changing the values on the video array and different combinations on the display size window and positions  &lt;source lang=&quot;java&quot;&gt;  //Movie...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.uni-weimar.de/kunst-und-gestaltung/wiki/index.php?title=GMU:Processing_im_Park/Emilio_Aguas/sample_code_test02&amp;diff=80386&amp;oldid=prev"/>
		<updated>2016-04-01T15:11:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;====--- Processing3.0 Code--- ====  Just changing the values on the video array and different combinations on the display size window and positions  &amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;  //Movie...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;====--- Processing3.0 Code--- ====&lt;br /&gt;
&lt;br /&gt;
Just changing the values on the video array and different combinations on the display size window and positions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
//Movie library&lt;br /&gt;
import processing.video.*;&lt;br /&gt;
&lt;br /&gt;
//Declare movie array&lt;br /&gt;
Movie [] allMovies= new Movie[16];&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  //Keep the aspect ratio 16:9&lt;br /&gt;
  size(800, 450);&lt;br /&gt;
  //Max values for hue, sturation, brightness and alpha&lt;br /&gt;
  colorMode(HSB, 360, 100, 100, 100);&lt;br /&gt;
  background(50, 75, 93);&lt;br /&gt;
  //Fill the movie array&lt;br /&gt;
  for (int i= 0; i &amp;lt; allMovies.length; i++) {&lt;br /&gt;
    allMovies[i]= new Movie(this, &amp;quot;Ilm_vid0&amp;quot;+(i+1)+&amp;quot;.m4v&amp;quot;);&lt;br /&gt;
    allMovies[i].loop();&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void draw() {&lt;br /&gt;
  int tamX= width/4;&lt;br /&gt;
  int tamY= height/4;&lt;br /&gt;
  float sat =map(mouseX, 0, width, 0, 100);&lt;br /&gt;
  // Display all the movies at the same time in different positions&lt;br /&gt;
  for (int i= 0; i &amp;lt; allMovies.length; i++) {&lt;br /&gt;
    int posX= (i % 4) * tamX;&lt;br /&gt;
    int posY= (i / 4) * tamY;&lt;br /&gt;
    //dispalying videos changing saturation&lt;br /&gt;
    tint(130, sat/2, 100, 10);&lt;br /&gt;
    image (allMovies[i], posX, posY, tamX, tamY);&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void movieEvent(Movie Ilm) {&lt;br /&gt;
  Ilm.read();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>EmilioAguas</name></author>
	</entry>
</feed>