<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>itp</title>
	<atom:link href="http://www.ameliechucky.cl/itp/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ameliechucky.cl/itp</link>
	<description>nyu - marcele godoy</description>
	<lastBuildDate>Thu, 26 Apr 2012 06:20:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>NOC final project</title>
		<link>http://www.ameliechucky.cl/itp/noc-final-project</link>
		<comments>http://www.ameliechucky.cl/itp/noc-final-project#comments</comments>
		<pubDate>Thu, 26 Apr 2012 04:52:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[nature of code]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[characters]]></category>
		<category><![CDATA[itp]]></category>
		<category><![CDATA[nyu]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[toxiclibs]]></category>

		<guid isPermaLink="false">http://www.ameliechucky.cl/itp/?p=1199</guid>
		<description><![CDATA[We based the idea in balance games, and we wanted to make some characters (like my midterm project) that the user has to balance to move them from one box ]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://player.vimeo.com/video/41057777?color=fbff24" width="495" height="278" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p><iframe width="495" height="495" scrolling="no" frameborder="0" src="http://www.openprocessing.org/sketch/59568/embed/?width=495&#038;height=495&#038;border=false"></iframe></p>
<p><strong> </strong><br />
<span>We based the idea in balance games, and we wanted to make some characters (like my midterm project) that the user has to balance to move them from one box to another, trying to not let the characters fall down between the boxes.</span></p>
<p>Combining a project of EunYoung and my midterm we create a device where one or two users can play, however because of the time we only made one box for now. The project consists in a box that have a transparent plane where we project, and it can rotate with a pivot in the middle that is also a potentiometer that can give you different values according to the angle of the plane. In the original project she used this like a wall, and she projected light from the inside. Now we set up a project on the floor, inside the box which has a height of 1.20 meter more or less.</p>
<p>The sketch was developed with processing using toxiclibs library to create the characters and movements of them. Every character owns a body and a head that are respectively a big particle surrounded by little ones joined by springs to make them appear like feet and hair. Also the eyes and the mouth are particles joined to the body and head by invisible springs. The eyes are scaled according to the timer with a random factor to make all the characters blink in different times, and the mouth are scaled according to the value of the potentiometer.</p>
<p>Also, according to the potentiometer we added a force that change with this lecture, that is positive or negative depending of the axis in the middle where the movable plane can rotate. This force is amplified by the size of every character to make the effect of different mass for different sizes.<br />
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br />
<span>   </span><br />
<span>   </span></p>
<p><code>// Eunyoung Kang + Marcela Godoy<br />
// The Nature of Code // final project spring 2012<br />
// Based on "Simple two particles and spring example" by D. Shiffman<br />
// The Nature of Code<br />
//<br />
// Spring 2012</code></p>
<p><code></p>
<blockquote><p>import netscape.javascript.*;<br />
import toxi.physics2d.*;<br />
import toxi.physics2d.behaviors.*;<br />
import toxi.geom.*;</p>
<p>import ddf.minim.*;</p>
<p>Minim minim;<br />
AudioPlayer sound;</p>
<p>import fullscreen.*;<br />
FullScreen fs;</p>
<p>// Reference to physics world<br />
VerletPhysics2D physics;</p>
<p>int numberBlobs = 5; //declaring the elements of array<br />
Blob[] blobs= new Blob [numberBlobs]; //declaring the array</p>
<p>color[] mycolours = {color(0,204,242),color(97,200,60),color(255,205,0),color(255,128,10),color(255,81,130),color(183,106,253)};</p>
<p>void setup() {<br />
size(500, 500);<br />
smooth();<br />
frameRate(30);</p>
<p>//  fs = new FullScreen(this);<br />
//  fs.enter();</p>
<p>// Initialize the physics<br />
physics=new VerletPhysics2D();<br />
minim = new Minim(this);<br />
sound = minim.loadFile("s_2.wav");</p>
<p>// This is the center of the world<br />
Vec2D center = new Vec2D(width/2, height/2);<br />
// these are the worlds dimensions (50%, a vector pointing out from the center in both directions)<br />
Vec2D extent = new Vec2D(width/2, height/2);</p>
<p>// Set the world's bounding box<br />
physics.setWorldBounds(Rect.fromCenterExtent(center, extent));</p>
<p>for (int i=0; i&lt; numberBlobs;i++) {<br />
blobs [i] = new Blob(random(width), random(50, height-50), random(40,80));</p>
<p>}</p>
<p>}</p>
<p>void draw() {</p>
<p>background(0);</p>
<p>//display all the Blobs<br />
for (int i = 0; i&lt; numberBlobs; i++) {<br />
fill(mycolours[i%(mycolours.length)]);<br />
blobs[i].display(mycolours[i]);</p>
<p>}</p>
<p>}</p>
<p>class Blob {</p>
<p>ArrayList<br />
allParticles;<br />
ArrayList<br />
allFace;<br />
ArrayList allSprings;</p>
<p>Particle body, head, n_eye1, n_eye2, n_mouth; //nucleo, head, eyes<br />
float large;</p>
<p>//define constructor<br />
Blob(  float x, float y, float sizeBlob){</p>
<p>//setup<br />
int particles_number= 30;<br />
float angle=radians(random(360));<br />
float u = radians(360/particles_number);<br />
float v;<br />
large = sizeBlob; //dimension connections<br />
float _x = x;<br />
float _y = y;</p>
<p>allParticles = new ArrayList<br />
();<br />
allFace = new ArrayList<br />
();<br />
allSprings = new ArrayList();</p>
<p>////////////// BODY</p>
<p>body = new Particle(_x,_y);</p>
<p>body.r = large*1.3; // ratio big circle<br />
physics.addBehavior(new AttractionBehavior(body, large*0.7, -1));</p>
<p>head = new Particle(_x,_y);</p>
<p>physics.addParticle(body);</p>
<p>head.r = large*1.1;</p>
<p>n_eye1 = new Particle(head.x,head.y);<br />
n_eye1.r = large*0.06;</p>
<p>n_eye2 = new Particle(head.x,head.y);<br />
n_eye2.r = large*0.06;</p>
<p>n_mouth = new Particle(head.x,head.y);<br />
n_mouth.r = 0;</p>
<p>VerletSpring2D spring_body = new VerletSpring2D(body, head, large*0.4, 0.1); //join the body and face<br />
VerletSpring2D spring_eye1 = new VerletSpring2D(body, n_eye1, large*0.5, 0.1);<br />
VerletSpring2D spring_eye2 = new VerletSpring2D(body, n_eye2, large*0.5, 0.1);</p>
<p>VerletSpring2D spring_eye1_1 = new VerletSpring2D(head, n_eye1, large*0.1, 0.1);<br />
VerletSpring2D spring_eye2_2 = new VerletSpring2D(head, n_eye2, large*0.1, 0.1);</p>
<p>VerletSpring2D spring_eyes = new VerletSpring2D(n_eye2, n_eye1, large*0.15, 0.1);<br />
VerletSpring2D spring_mouth = new VerletSpring2D(body, n_mouth, large*0.3, 0.1);<br />
VerletSpring2D spring_mouth2 = new VerletSpring2D(n_eye1, n_mouth, large*0.18, 0.1);<br />
VerletSpring2D spring_mouth3 = new VerletSpring2D(n_eye2, n_mouth, large*0.18, 0.1);</p>
<p>physics.addSpring(spring_body);<br />
physics.addSpring(spring_eye1);<br />
physics.addSpring(spring_eye2);<br />
physics.addSpring(spring_eye1_1);<br />
physics.addSpring(spring_eye2_2);<br />
physics.addSpring(spring_eyes);<br />
physics.addSpring(spring_mouth);<br />
physics.addSpring(spring_mouth2);<br />
physics.addSpring(spring_mouth3);</p>
<p>////////////// END BODY</p>
<p>//////////////////////////physics.addParticle(body);<br />
for (int i= 0; i&lt; particles_number; i++) {</p>
<p>v = large + 3 * sin(u*i*(particles_number/2.5));<br />
Particle p = new Particle(x + v * cos(angle + i*u), y + v * sin(angle + i*u)); //arrange different ratios in a sinusoidal way<br />
p.r = random(large*0.05,large*0.2);<br />
physics.addParticle(p);<br />
allParticles.add(p);<br />
physics.addBehavior(new AttractionBehavior(p, 10, -1));</p>
<p>// add a spring between body and every p</p>
<p>VerletSpring2D spring = new VerletSpring2D(body, allParticles.get(i), v-large*0.25, 0.01);<br />
physics.addSpring(spring);<br />
allSprings.add(spring);</p>
<p>}<br />
//////////////////////////end physics.addParticle(body);</p>
<p>//////////////////////////physics.addParticle(head);</p>
<p>for (int i= 0; i&lt; 30; i++) {           v = large*0.65 + 10 * sin(u*i*(30/5.5));     Particle p = new Particle(x + v * cos(angle + i*u), y + v * sin(angle + i*u)); //arrange different ratios in a sinusoidal way     p.r = random(large*0.02,large*0.1);     physics.addParticle(p);     allFace.add(p);     p.r=random(1,4);     physics.addBehavior(new AttractionBehavior(p, 10, -1));     // add a spring between n2 and every p          VerletSpring2D spring_face = new VerletSpring2D(head, allFace.get(i), v, 0.01);     physics.addSpring(spring_face);     allSprings.add(spring_face);                      }     //////////////////////////end physics.addParticle(head);      }      //end define constructor      void display(color c){          physics.update();          for (Particle p : allParticles) {     p.displayParticles();      stroke(c);     strokeWeight(3);     line(body.x, body.y, p.x, p.y);          }          for (Particle p : allFace) {     p.displayParticles();      stroke(c);     strokeWeight(0.5);     line(head.x, head.y, p.x, p.y);            }           body.displayParticles();   head.displayParticles();   n_eye1.displayFace(floor(large));   n_eye2.displayFace(floor(large));      Vec2D f = new Vec2D(0,(large*0.05*(mouseY-height*0.5)/10));   body.addForce(f);      float boca = abs(mouseY-height*0.5);   float bocaMap = map(boca, 0,200,0,large*0.2);   println(bocaMap);           if (body.y &gt; height-large*0.5){<br />
//    body.y = height;<br />
//    body.lock();<br />
n_mouth.displayMouth(4);<br />
}</p>
<p>else if (body.y &lt; large*0.5){ //    body.y = 0; //    body.lock();     n_mouth.displayMouth(4);   }         else{      n_mouth.displayMouth(bocaMap);      if(bocaMap&gt;3){<br />
sound.play();<br />
}else{<br />
sound.rewind();</p>
<p>}<br />
}</p>
<p>}<br />
}</p>
<p>class Particle extends VerletParticle2D {</p>
<p>float r;</p>
<p>Particle(float x, float y) {<br />
super(x,y);<br />
}</p>
<p>// All we're doing really is adding a display() function to a VerletParticle<br />
void displayParticles() {<br />
//fill(0,204,242);<br />
noStroke();<br />
ellipse(x,y,r,r);<br />
}</p>
<p>void displayFace(int delayEyes) {</p>
<p>float time = millis()/(100+delayEyes);<br />
float blinkAmount = time%20;<br />
int escala =0;<br />
if(blinkAmount==0 || blinkAmount==2) escala=0;<br />
else escala=1;<br />
fill(0);<br />
noStroke();<br />
ellipse(x,y,escala*r,escala*r);</p>
<p>}</p>
<p>void displayMouth(float escala) {</p>
<p>fill(0);<br />
noStroke();<br />
ellipse(x,y,escala,escala);</p>
<p>}</p>
<p><code>}</code></p></blockquote>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ameliechucky.cl/itp/noc-final-project/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>final project idea</title>
		<link>http://www.ameliechucky.cl/itp/final-project-idea</link>
		<comments>http://www.ameliechucky.cl/itp/final-project-idea#comments</comments>
		<pubDate>Wed, 04 Apr 2012 16:40:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[nature of code]]></category>

		<guid isPermaLink="false">http://www.ameliechucky.cl/itp/?p=1184</guid>
		<description><![CDATA[+ I&#8217;m working in this project with Eunyoung, because we both wanted to make something physical and interactive. We know we don&#8217;t have enough time so we thought in the ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/04/eunyoung_head02.png"><img src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/04/eunyoung_head02-495x278.png" alt="" title="eunyoung_head02" width="495" height="278" class="alignnone size-medium wp-image-1185" /></a></p>
<p><strong>+</strong></p>
<p><a href="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/03/Screen-Shot-02.jpg"><img class="alignnone size-full wp-image-1152" title="Screen-Shot-02" src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/03/Screen-Shot-02.jpg" alt="" width="495" /></a></p>
<p><strong> </strong><br />
I&#8217;m working in this project with <a href="http://www.eunyoungkang.com/">Eunyoung</a>, because we both wanted to make something physical and interactive. </p>
<p>We know we don&#8217;t have enough time so we thought in the idea to recycle-combine some other projects. therefore we decide to use a previous project of Eunyoung that consists in boxes that have a transparent plane with a pivot in an axis in the middle that is also a potentiometer and read the angle of rotation of the panel. In the original project she used this like a wall, and she projected light from the inside. Now we would like to use it like a table composed of four of these boxes that will show in the transparent panel the projection of the sketch that we are going to develop as a final project.</p>
<p>We based the idea in balance games, and we would like to try to make some balls or characters (like my midterm project) that the user has to move in order to put these in some holes or move through some path. The idea is when you start to play all these characters are in a corner and you have to try to not let the characters fall down between the boxes.</p>
<p><img alt="" src="http://www.mulberrybush.co.uk/_images/toystore/450/labyrinth_1.jpg" title="labyrinth" class="alignnone" width="450" height="450" /></p>
<p><a href="http://hackawii.com/wii-balance-board-labyrinth-game/">http://hackawii.com/wii-balance-board-labyrinth-game/</a></p>
<p>here there are some sketches:</p>
<p><img alt="" src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/04/Untitled-1.jpg" title="noc_final" class="alignnone" width="495" /></p>
<p><img alt="" src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/04/Untitled-2.jpg" title="noc_final" class="alignnone" width="495" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ameliechucky.cl/itp/final-project-idea/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>assignments</title>
		<link>http://www.ameliechucky.cl/itp/assignments</link>
		<comments>http://www.ameliechucky.cl/itp/assignments#comments</comments>
		<pubDate>Wed, 07 Mar 2012 18:11:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[nature of code]]></category>

		<guid isPermaLink="false">http://www.ameliechucky.cl/itp/?p=1169</guid>
		<description><![CDATA[sinusoid function: import netscape.javascript.*; float angle = 0; float speed = 0.8; float x = 0; float y = 0; float y0 = 100; float w = random(5,30); void setup ]]></description>
			<content:encoded><![CDATA[<p>sinusoid function:<br />
<iframe width="500" height="200" scrolling="no" frameborder="0" src="http://www.openprocessing.org/sketch/55080/embed/?width=500&#038;height=200&#038;border=true"></iframe></p>
<blockquote><p>import netscape.javascript.*;</p>
<p>float angle = 0;<br />
float speed = 0.8;<br />
float x = 0;<br />
float y = 0;<br />
float y0 = 100;<br />
float w = random(5,30);</p>
<p>void setup (){<br />
  size (500,200);<br />
  noStroke();<br />
  smooth();<br />
  background(0);<br />
}</p>
<p>void draw(){<br />
    noStroke();<br />
    fill(0,7);<br />
    rect(0,0,width,height);<br />
    fill (255, 100);<br />
    angle += speed;<br />
   if (x<width) {<br />
       x ++;<br />
   }else{<br />
     x = 0;<br />
   }</p>
<p>     y= y0 + 10 * sin(angle/w);<br />
     ellipse(x,y,20,20);</p>
<p>}</p></blockquote>
<p><iframe width="500" height="500" scrolling="no" frameborder="0" src="http://www.openprocessing.org/sketch/55081/embed/?width=500&#038;height=500&#038;border=true"></iframe></p>
<p>drag and drop, torque and friction:<br />
<iframe width="500" height="530" scrolling="no" frameborder="0" src="http://www.openprocessing.org/sketch/55082/embed/?width=500&#038;height=450&#038;border=true"></iframe></p>
<p>particles toxiclibs:</p>
<p><iframe width="500" height="400" scrolling="no" frameborder="0" src="http://www.openprocessing.org/sketch/54955/embed/?width=500&#038;height=400&#038;border=false"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ameliechucky.cl/itp/assignments/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nature of code midterm</title>
		<link>http://www.ameliechucky.cl/itp/nature-of-code-midterm</link>
		<comments>http://www.ameliechucky.cl/itp/nature-of-code-midterm#comments</comments>
		<pubDate>Wed, 07 Mar 2012 05:15:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[nature of code]]></category>

		<guid isPermaLink="false">http://www.ameliechucky.cl/itp/?p=1151</guid>
		<description><![CDATA[some references: previous work: one big particle is attached with many others in a &#8220;random&#8221; position around the big one&#8230;.to get different ratios i distributed the position using a sinusoidal ]]></description>
			<content:encoded><![CDATA[<p><iframe width="428" height="480" scrolling="no" frameborder="0" src="http://www.openprocessing.org/sketch/54953/embed/?width=400&#038;height=400&#038;border=true"></iframe></p>
<p><a href="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/03/Screen-Shot-01.jpg"><img class="alignnone size-full wp-image-1152" title="Screen-Shot-01" src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/03/Screen-Shot-01.jpg" alt="" width="427" height="427" /></a><br />
<a href="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/03/Screen-Shot-02.jpg"><img class="alignnone size-full wp-image-1152" title="Screen-Shot-02" src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/03/Screen-Shot-02.jpg" alt="" width="427" height="427" /></a><br />
<a href="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/03/Screen-Shot-03.jpg"><img class="alignnone size-full wp-image-1152" title="Screen-Shot-03" src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/03/Screen-Shot-03.jpg" alt="" width="427" height="427" /></a><br />
<span> </span><br />
some references:<br />
<span> </span><br />
<a href="http://www.freshbump.com/featured/wp-content/uploads/2009/06/freshcuts_brianmccarty_-img5.jpg"><img src="http://www.freshbump.com/featured/wp-content/uploads/2009/06/freshcuts_brianmccarty_-img5.jpg" alt="" width="427" /></a><br />
<a href="http://www.friendswithyou.com/store/media/catalog/product/cache/1/image/380x/5e06319eda06f020e43594a9c230972d/w/c/wct2_small.jpg"><img src="http://www.friendswithyou.com/store/media/catalog/product/cache/1/image/380x/5e06319eda06f020e43594a9c230972d/w/c/wct2_small.jpg" alt="" width="427" /></a></p>
<p>previous work:</p>
<p><iframe width="428" height="480" scrolling="no" frameborder="0" src="http://www.openprocessing.org/sketch/54955/embed/?width=400&#038;height=400&#038;border=true"></iframe></p>
<p>one big particle is attached with many others in a &#8220;random&#8221; position around the big one&#8230;.to get different ratios i distributed the position using a sinusoidal function to variate the ratio in some range.<br />
The little particles also are attached between them with a spring that is not drawn in the sketch with lines, like the springs that are connecting the big particle with the little ones.<br />
For the character, the little particles take a random range for the ratio, between 1 and 20&#8230;.and for the head between 1 and 3. The body is formed by 2 big particles connected by a spring very short, that&#8217;s why they never separate each other too much.</p>
<p>code:</p>
<blockquote style="font-size:8px; background-color:#F5F5F5; width:450px;" ><p>// Marcela Godoy<br />
// The Nature of Code // midterm project spring 2012<br />
// Based on &#8220;Simple two particles and spring example&#8221; by D. Shiffman<br />
import netscape.javascript.*;<br />
import toxi.physics2d.*;<br />
import toxi.physics2d.behaviors.*;<br />
import toxi.geom.*;</p>
<p>// Reference to physics world<br />
VerletPhysics2D physics;</p>
<p>ArrayList<br />
allParticles;<br />
ArrayList<br />
allFace;</p>
<p>ArrayList allSprings;<br />
ArrayList allConnections;</p>
<p>Particle n1; //nucleo<br />
Particle n2; //nucleo<br />
int particles_number= 60;<br />
float angle=radians(random(360));<br />
float u = radians(360/particles_number);<br />
float v;<br />
PImage b;</p>
<p>void setup() {<br />
size(400, 400);<br />
smooth();<br />
frameRate(30);<br />
b = loadImage(&#8220;c.png&#8221;);</p>
<p>allParticles = new ArrayList<br />
();<br />
allFace = new ArrayList<br />
();<br />
allSprings = new ArrayList();<br />
allConnections = new ArrayList();</p>
<p>// Initialize the physics<br />
physics=new VerletPhysics2D();<br />
physics.addBehavior(new GravityBehavior(new Vec2D(0, 0.09)));</p>
<p>// This is the center of the world<br />
Vec2D center = new Vec2D(width/2, height/2);<br />
// these are the worlds dimensions (50%, a vector pointing out from the center in both directions)<br />
Vec2D extent = new Vec2D(width/2, height/2);</p>
<p>// Set the world&#8217;s bounding box<br />
physics.setWorldBounds(Rect.fromCenterExtent(center, extent));</p>
<p>fill(0, 100);<br />
noStroke();<br />
float x = random(width);<br />
float y = 0;</p>
<p>n1 = new Particle(x,y);<br />
n1.r = 150;<br />
n1.opacity=0;</p>
<p>//physics.addBehavior(new AttractionBehavior(n1, width, 0.1));</p>
<p>n2 = new Particle(random(width),random(height));</p>
<p>VerletSpring2D spring_n = new VerletSpring2D(n2, n1, 40, 0.1);<br />
physics.addSpring(spring_n);</p>
<p>//////////////////////////physics.addParticle(n1);</p>
<p>for (int i= 0; i&lt; particles_number; i++) {</p>
<p>v = 100+5*sin(u*i*(particles_number/2.5));<br />
Particle p = new Particle(x + v * cos(angle + i*u), y + v * sin(angle + i*u)); //arrange different ratios in a sinusoidal way<br />
physics.addParticle(p);<br />
allParticles.add(p);</p>
<p>// add a spring between n1 and every p</p>
<p>VerletSpring2D spring = new VerletSpring2D(n1, allParticles.get(i), v-20, 0.01);<br />
physics.addSpring(spring);<br />
allSprings.add(spring);</p>
<p>// add a spring between p&#8217;s</p>
<p>VerletParticle2D pi = (VerletParticle2D) allParticles.get(i);<br />
for (int j = 0; j &lt; i; j++) {<br />
VerletParticle2D pj = (VerletParticle2D) allParticles.get(j);<br />
VerletSpring2D connection = new VerletSpring2D(pi, pj, 100, 0.00001);<br />
physics.addSpring(connection);<br />
allConnections.add(connection);<br />
}</p>
<p>}//////////////////////////physics.addParticle(n1);</p>
<p>//////////////////////////physics.addParticle(n2);</p>
<p>for (int i= 0; i&lt; 150; i++) {</p>
<p>v = 90+5*sin(u*i*(particles_number/5.5));<br />
Particle p = new Particle(x + v * cos(angle + i*u), y + v * sin(angle + i*u)); //arrange different ratios in a sinusoidal way<br />
physics.addParticle(p);<br />
allFace.add(p);<br />
p.r=random(1,3);</p>
<p>// add a spring between n1 and every p</p>
<p>VerletSpring2D spring2 = new VerletSpring2D(n2, allFace.get(i), v-20, 0.01);<br />
physics.addSpring(spring2);<br />
allSprings.add(spring2);</p>
<p>// add a spring between p&#8217;s</p>
<p>VerletParticle2D pi = (VerletParticle2D) allFace.get(i);<br />
for (int j = 0; j &lt; i; j++) {<br />
VerletParticle2D pj = (VerletParticle2D) allFace.get(j);<br />
VerletSpring2D connection2 = new VerletSpring2D(pi, pj, 100, 0.00001);<br />
physics.addSpring(connection2);<br />
allConnections.add(connection2);<br />
}</p>
<p>}//////////////////////////physics.addParticle(n2);</p>
<p>//n1.lock();</p>
<p>}</p>
<p>void draw() {</p>
<p>// Update the physics world<br />
physics.update();</p>
<p>background(255);<br />
float angle2 = u;</p>
<p>for (Particle p : allParticles) {<br />
p.display();<br />
stroke(0,40);<br />
line(n1.x, n1.y, p.x, p.y);<br />
}</p>
<p>for (Particle p : allFace) {<br />
p.display();<br />
stroke(0,40);<br />
line(n2.x, n2.y, p.x, p.y);<br />
}</p>
<p>n1.display();<br />
n2.displayFace();</p>
<p>float distance = dist(n2.x, n2.y, mouseX, mouseY);<br />
if(distance &lt; 100){<br />
n2.lock();<br />
n2.x = mouseX;<br />
n2.y = mouseY;<br />
n2.unlock();</p>
<p>}</p>
<p>}</p>
<p>class Particle extends VerletParticle2D {</p>
<p>  float r = random(1,20);<br />
  float opacity = 0;</p>
<p>  Particle(float x, float y) {<br />
    super(x,y);<br />
  }</p>
<p>  // All we&#8217;re doing really is adding a display() function to a VerletParticle<br />
  void display() {<br />
    fill(0 + opacity);<br />
    noStroke();<br />
    ellipse(x,y,r,r);</p>
<p>  }</p>
<p>  void displayFace() {<br />
    imageMode(CENTER);<br />
    image(b, x,y, 120, 120);</p>
<p>  }</p>
<p>}</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.ameliechucky.cl/itp/nature-of-code-midterm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pop-up +1</title>
		<link>http://www.ameliechucky.cl/itp/pop-up-1</link>
		<comments>http://www.ameliechucky.cl/itp/pop-up-1#comments</comments>
		<pubDate>Wed, 22 Feb 2012 00:50:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[popupbooks]]></category>

		<guid isPermaLink="false">http://www.ameliechucky.cl/itp/?p=1137</guid>
		<description><![CDATA[based on]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/cat_2.gif"><img src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/cat_2.gif" alt="" width="495" height="311" /></a></p>
<p><a href="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/Screen-Shot-2012-02-14-at-3.57.59-PM.png"><img src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/Screen-Shot-2012-02-14-at-3.57.59-PM.png" alt="" width="495" /></a></p>
<p>based on:</p>
<p><a href="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/lizard-4.jpg"><img src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/lizard-4.jpg" alt="" width="160" /></a> <a href="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/lizard-12.jpg"><img src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/lizard-12.jpg" alt="" width="160" /></a> <a href="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/lizard-flat.jpg"><img src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/lizard-flat.jpg" alt="" width="160" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ameliechucky.cl/itp/pop-up-1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>assignment_01</title>
		<link>http://www.ameliechucky.cl/itp/assignment_01</link>
		<comments>http://www.ameliechucky.cl/itp/assignment_01#comments</comments>
		<pubDate>Sat, 04 Feb 2012 22:57:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[popupbooks]]></category>
		<category><![CDATA[itp]]></category>
		<category><![CDATA[nyu]]></category>
		<category><![CDATA[popup books]]></category>

		<guid isPermaLink="false">http://www.ameliechucky.cl/itp/?p=1114</guid>
		<description><![CDATA[I wanted to make something like the Joy Division album cover, but it&#8217;s difficult to know where to fold every part and the page still works&#8230;..i should glue every part ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/assignment01.jpg"><img class="alignnone size-medium wp-image-1115" title="assignment01" src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/assignment01-495x330.jpg" alt="" width="495" height="330" /></a></p>
<p><img class="alignnone" title="assignment1" src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/assignment01_2.jpg" alt="" width="495" /></p>
<p>I wanted to make something like the Joy Division album cover,</p>
<p><img class="alignnone" title="joy division" src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/Joy-Division_Unknown-Pleasures_Shes-Lost-Control-1979.jpg" alt="" width="495" /></p>
<p>but it&#8217;s difficult to know where to fold every part and the page still works&#8230;..i should glue every part separately, so i started with this model&#8230;..drawing several parallel lines and then random diagonals that cross them, then i cut every parallel following the drawing. When this was finished i glued to a page and i folded everything, so the mountains where defined by the page fold.</p>
<p><a href="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/assignment01.gif"></a><img class="alignnone" title="gif" src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/assignment01.gif" alt="" width="495" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ameliechucky.cl/itp/assignment_01/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>thesis proposal</title>
		<link>http://www.ameliechucky.cl/itp/thesis-proposal</link>
		<comments>http://www.ameliechucky.cl/itp/thesis-proposal#comments</comments>
		<pubDate>Fri, 03 Feb 2012 14:26:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[thesis]]></category>

		<guid isPermaLink="false">http://www.ameliechucky.cl/itp/?p=1108</guid>
		<description><![CDATA[transformable architecture can technology change the way of thinking and doing architecture? in my opinion, using technology buildings should be organisms capable to transform and move as a result of ]]></description>
			<content:encoded><![CDATA[<h1>transformable architecture</h1>
<p>can technology change the way of thinking and doing architecture?<br />
in my opinion, using technology buildings should be organisms capable to transform and move as a result of the interaction with people and their practices that are constantly changing.<br />
This study is a research to design and develop a modular, structural and active piece that can generate an interactive surface, something like a &#8220;kinetic brick&#8221;.</p>
<h4>Brief Description.</h4>
<p>transformable architecture is a series of experiments exploring math, geometry, mechanisms and ways to generate an interactive surface. Using digital tools and material properties to create a light, modular, and self-structured prototype.</p>
<h4>Why do this idea?</h4>
<p>I started working in this project using digital tools to create a self-structured, modular and light surface to cover big spaces. According to material properties that I studied previously I tried to solve the question: how to make strong a &#8220;weak&#8221; (light) material?<br />
Observing steel sheets in a wall container, I started exploring folds and then Origami Tessellations that could be useful in architecture. Studying the behavior of these patterns i realized that I could generate different shapes with the same prototype, so I wondered why still thinking of this as something static? and then, why still thinking architecture as something static?<br />
Then I realized that I had never before studied how the things can move, because in architecture we start from the base that everything must be static, but why should buildings remain statics 100 or 200 years if nowadays people is constantly and quickly changing?</p>
<h4>Research Plan.</h4>
<p>shape:<br />
The first weeks i want to explore different models, geometries and patterns useful in architecture and the potentials of folds. Study the way that they move and try to be an expert knowing the actions and reactions of every one of its components. To do this i will use digital 3D software and real prototypes using digital fabrication machines.</p>
<p>mechanism:<br />
After I have chosen or designed a shape i want to develop a mechanism that can move and stop the movement of this kinetic module, because if i want to structure the surface i have to make it rigid but flexible to adopt different states. The study of this mechanism it will be supported also using digital tools to design, simulate and fabricate.</p>
<p>interaction:<br />
In the last weeks i want to explore the way that this mechanism can interact with people. Studying a sensor or a mechanical way to move the module, and if this movement is triggered by human body, activities or environment.</p>
<p>By Thesis Week I intend to have a kinetic prototype that can be replicated and assembled to generate an interactive surface that can be used to cover different urban activities.<br />
Also the digital documentation of this study and other potential shapes that can be developed to continue the exploration of transformable architecture.</p>
<h1><a href="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/marcela-godoy_imagenes-5.jpg"><img class="alignnone size-medium wp-image-1125" title="marcela-godoy_imagenes-5" src="http://www.ameliechucky.cl/itp/wp-content/uploads/2012/02/marcela-godoy_imagenes-5-495x371.jpg" alt="" width="495" height="371" /></a></h1>
]]></content:encoded>
			<wfw:commentRss>http://www.ameliechucky.cl/itp/thesis-proposal/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Need to Know&#8230;.</title>
		<link>http://www.ameliechucky.cl/itp/need-to-know</link>
		<comments>http://www.ameliechucky.cl/itp/need-to-know#comments</comments>
		<pubDate>Sun, 29 Jan 2012 18:44:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[thesis]]></category>

		<guid isPermaLink="false">http://www.ameliechucky.cl/itp/?p=1131</guid>
		<description><![CDATA[What’s your approach? What do you need to know and how will you find out? pattern studies (math, geometry) mechanism: http://www.robives.com/mechs interaction (sensor?) What resources do you know of? Pier ]]></description>
			<content:encoded><![CDATA[<div>
<p><strong>What’s your approach?</strong></p>
<p><strong>What do you need to know and how will you find out?</strong></p>
<p>pattern studies (math, geometry)</p>
<p>mechanism:</p>
<p><a href="http://www.robives.com/mechs">http://www.robives.com/mechs</a><br />
<img src="http://www.robives.com/sites/default/files/rack200.jpg?1285875381" alt="http://www.robives.com/sites/default/files/rack200.jpg?1285875381" width="75" height="75" /> <img src="http://www.robives.com/sites/default/files/gears200.jpg?1285953295" alt="http://www.robives.com/sites/default/files/gears200.jpg?1285953295" width="75" height="75" /> <img src="http://www.robives.com/sites/default/files/recip200.jpg?1285948733" alt="http://www.robives.com/sites/default/files/recip200.jpg?1285948733" width="75" height="75" /> <img src="http://www.robives.com/sites/default/files/bellcrank200_1.jpg?1285867925" alt="http://www.robives.com/sites/default/files/bellcrank200_1.jpg?1285867925" width="75" height="75" /></p>
<p>interaction (sensor?)</p>
<p><strong>What resources do you know of?</strong></p>
<p>Pier L. Nervi</p>
<table border="0" cellspacing="0" cellpadding="0" width="500">
<tbody>
<tr>
<td align="center"><a title="Pier Luigi Nervi, Palazzo delle Esposizioni, Torino | © photo: Mario Carrieri | sponsored by Italcementi" rel="lightbox[pier_luigi_nervi_architettura_come_sfida_venezia]" href="http://www.fashiondesignlab.com/02/english/img/pier_luigi_nervi_architettura_come_sfida_venezia04b.jpg"><img src="http://www.fashiondesignlab.com/02/english/img/pier_luigi_nervi_architettura_come_sfida_venezia04s.jpg" border="0" alt="Pier Luigi Nervi, Palazzo delle Esposizioni, Torino | © photo: Mario Carrieri | sponsored by Italcementi" width="160" height="100" /></a></td>
<td align="center"><a title="Pier Luigi Nervi, Palazzo delle Esposizioni, Torino | © photo: Mario Carrieri | sponsored by Italcementi" rel="lightbox[pier_luigi_nervi_architettura_come_sfida_venezia]" href="http://www.fashiondesignlab.com/02/english/img/pier_luigi_nervi_architettura_come_sfida_venezia05b.jpg"><img src="http://www.fashiondesignlab.com/02/english/img/pier_luigi_nervi_architettura_come_sfida_venezia05s.jpg" border="0" alt="Pier Luigi Nervi, Palazzo delle Esposizioni, Torino | © photo: Mario Carrieri | sponsored by Italcementi" width="160" height="100" /></a></td>
<td align="center"><a title="Pier Luigi Nervi, Palazzo del Lavoro, Torino | © photo: Mario Carrieri | sponsored by Italcementi" rel="lightbox[pier_luigi_nervi_architettura_come_sfida_venezia]" href="http://www.fashiondesignlab.com/02/english/img/pier_luigi_nervi_architettura_come_sfida_venezia06b.jpg"><img src="http://www.fashiondesignlab.com/02/english/img/pier_luigi_nervi_architettura_come_sfida_venezia06s.jpg" border="0" alt="Pier Luigi Nervi, Palazzo del Lavoro, Torino | © photo: Mario Carrieri | sponsored by Italcementi" width="160" height="100" /></a></td>
</tr>
</tbody>
</table>
<p>Buckminster Fuller:<br />
<img src="http://blog.earnmydegree.com/wp-content/uploads/2010/12/buckminster-fuller_dymaxion-1024x805.jpg" alt="http://blog.earnmydegree.com/wp-content/uploads/2010/12/buckminster-fuller_dymaxion-1024x805.jpg" width="500" /></p>
<p><a href="http://www.generatorx.no/20070126/pioneer-ron-resch/">Ron Resch</a>:<br />
<img src="http://www.generatorx.no/wp-content/uploads/070126_ronresch.jpg" alt="070126_ronresch.jpg" width="500" /></p>
<p><a href="http://pia.sial.rmit.edu.au/materialpotency/">material potency:</a><br />
<img src="http://pia.sial.rmit.edu.au/materialpotency/images/surfacestrip.jpg" alt="" width="500" /></p>
<p><a href="http://www.flickr.com/photos/archisculpture/sets/72057594065225200/">paper works:</a><br />
<img src="http://farm1.staticflickr.com/30/101483060_046266bf2e_s.jpg" alt="http://farm1.staticflickr.com/30/101483060_046266bf2e_s.jpg" /> <img src="http://farm1.staticflickr.com/50/110687325_02d35caab8_s.jpg" alt="http://farm1.staticflickr.com/50/110687325_02d35caab8_s.jpg" /> <img src="http://farm1.staticflickr.com/40/111865266_e58e6ba43c_s.jpg" alt="http://farm1.staticflickr.com/40/111865266_e58e6ba43c_s.jpg" /> <img src="http://farm1.staticflickr.com/62/229607016_eec2f6877b_s.jpg" alt="http://farm1.staticflickr.com/62/229607016_eec2f6877b_s.jpg" /> <img src="http://farm1.staticflickr.com/48/126096521_2435802835_s.jpg" alt="http://farm1.staticflickr.com/48/126096521_2435802835_s.jpg" /> <img src="http://farm6.staticflickr.com/5030/5872516146_d6c0951aab_s.jpg" alt="http://farm6.staticflickr.com/5030/5872516146_d6c0951aab_s.jpg" /></p>
<p><a href="http://vimeo.com/23792529">Folding Techniques For Designers: Basic Concepts</a></p>
<p>    <iframe src="http://player.vimeo.com/video/23792529" width="450" height="253" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p><strong>Who should you talk to about it?</strong></p>
<p><a rel="nofollow" href="http://www.dustynrobots.com/">Dustyn Roberts</a> – mechanism class<br />
<a href="http://itp.nyu.edu/%7Eib534/papo/">Ithai Benjamin</a> – puppets class<br />
<a href="http://www.adimarom.com/">Adi Maron</a> – itp alumni<br />
chika – itp resident</p>
<p><strong>What help do you need?</strong></p>
<p><strong>previous research – models</strong></p>
<p>in itp i’ve been making different models with different materials, thinking in something that can be a deployable structure.</p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/Photo-on-2011-04-18-at-00.52.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/Photo-on-2011-04-18-at-00.52.jpg" alt="" width="500" /></a></p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/Photo-on-2011-04-18-at-00.52-2.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/Photo-on-2011-04-18-at-00.52-2.jpg" alt="" width="500" /></a></p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/Photo-on-2011-04-18-at-00.51-3.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/Photo-on-2011-04-18-at-00.51-3.jpg" alt="" width="500" /></a></p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/Photo-on-10-11-11-at-12.16-AM-3.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/Photo-on-10-11-11-at-12.16-AM-3-1024x682.jpg" alt="" width="500" /></a></p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/Photo-on-10-11-11-at-3.13-PM-2.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/Photo-on-10-11-11-at-3.13-PM-2-1024x682.jpg" alt="" width="500" /></a></p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/Photo-on-10-11-11-at-3.13-PM.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/Photo-on-10-11-11-at-3.13-PM-1024x682.jpg" alt="" width="500" /></a></p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/Photo-on-10-11-11-at-10.11-PM.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/Photo-on-10-11-11-at-10.11-PM-1024x682.jpg" alt="" width="500" /></a></p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/Photo-on-10-11-11-at-3.14-PM.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/Photo-on-10-11-11-at-3.14-PM-1024x682.jpg" alt="" width="500" /></a></p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/00.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/00.jpg" alt="" width="500" /></a></p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/01.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/01.jpg" alt="" width="500" /></a></p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/02.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/02.jpg" alt="" width="500" /></a></p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/04.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/04.jpg" alt="" width="500" /></a></p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/03.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/03.jpg" alt="" width="500" /></a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ameliechucky.cl/itp/need-to-know/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>previous research</title>
		<link>http://www.ameliechucky.cl/itp/previous-research</link>
		<comments>http://www.ameliechucky.cl/itp/previous-research#comments</comments>
		<pubDate>Fri, 27 Jan 2012 18:40:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[thesis]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[modular]]></category>
		<category><![CDATA[origami]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[transformable]]></category>

		<guid isPermaLink="false">http://www.ameliechucky.cl/itp/?p=1128</guid>
		<description><![CDATA[i started working in this project thinking about to make: architecture, lightness, modular, transportable, self-structured, build from the material properties. then i thought how to make strong a “weak” (light) ]]></description>
			<content:encoded><![CDATA[<div>
<p>i started working in this project thinking about to make:</p>
<h3>architecture, lightness, modular, transportable, self-structured, build from the material properties.</h3>
<p>then i thought how to make strong a “weak” (light) material, like  steel sheets in a wall container and realized that when you fold it, you  can make it stronger. So i started researching Origami Tessellations  and how this can be useful in architecture.</p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/MODELOS1.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/MODELOS1-1024x341.jpg" alt="" width="500" /></a></p>
<p>Doing these origami models i realized that i could make different  shapes that can cover an architectural space so,the question was:</p>
<h4>why still thinking of this as something static?</h4>
<p>and then….</p>
<h4>why still thinking architecture as something static?</h4>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/foldface_01_english.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/foldface_01_english-1024x552.jpg" alt="" width="500" /></a></p>
<p><img src="http://s3.amazonaws.com/data.tumblr.com/tumblr_lylbzxy3Kr1rox3npo2_1280.jpg?AWSAccessKeyId=AKIAJ6IHWSU3BX3X7X3Q&amp;Expires=1327979547&amp;Signature=6UNOb3GSa8dPxFpC%2B3aGFNFUpoM%3D" alt="" width="500" /></p>
<p><img src="http://s3.amazonaws.com/data.tumblr.com/tumblr_lylbzxy3Kr1rox3npo3_1280.jpg?AWSAccessKeyId=AKIAJ6IHWSU3BX3X7X3Q&amp;Expires=1327979664&amp;Signature=TQ3D6TjDLAABcuY%2F9gR0kXqcbck%3D" alt="" width="500" /></p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/foldface_04.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/foldface_04-1024x724.jpg" alt="" width="500" /></a></p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/paper-model.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/paper-model.jpg" alt="" width="300" /></a><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/wood_prototype.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/wood_prototype.jpg" alt="" width="230" /></a></p>
<p><a href="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/models.jpg"><img src="http://itp.nyu.edu/thesisprogress/classof2012/files/2012/01/models.jpg" alt="" width="500" /></a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ameliechucky.cl/itp/previous-research/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data Rep Final</title>
		<link>http://www.ameliechucky.cl/itp/data-rep-final</link>
		<comments>http://www.ameliechucky.cl/itp/data-rep-final#comments</comments>
		<pubDate>Sat, 10 Dec 2011 15:36:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DataRep]]></category>

		<guid isPermaLink="false">http://www.ameliechucky.cl/itp/?p=1078</guid>
		<description><![CDATA[This visualization shows the purposes to experiment with animals in UK in 2009, and also the kind of animals and the amount of them in every purpose, according to the ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ameliechucky.cl/itp/wp-content/uploads/2011/12/cd.jpg"><img class="alignnone size-medium wp-image-1103" title="cd" src="http://www.ameliechucky.cl/itp/wp-content/uploads/2011/12/cd-495x290.jpg" alt="" width="495" height="290" /></a></p>
<p><iframe src="http://player.vimeo.com/video/33902094?title=0&amp;byline=0&amp;portrait=0&amp;autoplay=1" width="495" height="278" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p>This visualization shows the purposes to experiment with animals in UK in 2009, and also the kind of animals and the amount of them in every purpose, according to the data that i got in <a href="http://www.guardian.co.uk/news/datablog/2009/jul/21/animal-research">http://www.guardian.co.uk/news/datablog/2009/jul/21/animal-research</a>.<br />
The size of every circle indicates the amount of animals used in a purpose (<strong>TRACKS</strong>) and then, the fraction of colors indicate the kind of animals and the number of that kind of animals compared to the total amount used for a specific purpose (<strong>MUSIC NOTES</strong>).</p>
<p>The whole composition is a kind of album with songs, where every song is a human purpose to experiment with animals.</p>
<p>In every track, the <strong>kind of animal </strong>is a specific <strong>prerecorded sound</strong>. The <strong>amount of animals</strong> <strong>compared with the total</strong> is related with the amount of <strong>loops</strong> of every sound and the kind of beat that the song has.</p>
<p>The idea is to get songs made them with prerecorded animal sounds, that sounds like this:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="81" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowscriptaccess" value="always" /><param name="src" value="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F30251780%3Fsecret_token%3Ds-InFdS&amp;show_comments=true&amp;auto_play=false&amp;color=00d3ff" /><embed type="application/x-shockwave-flash" width="100%" height="81" src="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F30251780%3Fsecret_token%3Ds-InFdS&amp;show_comments=true&amp;auto_play=false&amp;color=00d3ff" allowscriptaccess="always"></embed></object> <span>I made a song with animal sounds by FoodsAreBombs.<br />
</span><span><br />
</span><br />
<strong>DATA:</strong></p>
<p><a href="http://www.guardian.co.uk/news/datablog/2009/jul/21/animal-research">http://www.guardian.co.uk/news/datablog/2009/jul/21/animal-research</a></p>
<h2><strong>Animal experiments in numbers</strong></h2>
<p>There are more experiments on animals in the UK than ever before.</p>
<p>Animal research: Marmoset monkeys<br />
Marmoset monkeys used in animal research are given marshmallows at a testing centre.<br />
<img src="http://static.guim.co.uk/sys-images/Guardian/Pix/pictures/2008/05/30/monkey5.jpg" alt="Animal research: Marmoset monkeys" width="460" height="276" /><br />
Photograph: Graeme Robertson</p>
<p>Figures out today show the largest rise in the use of animals in medical research since modern records began in 1986. The number of procedures involving animals rose by 454,000 in 2008 compared with the previous year.</p>
<p>The rise reflects more biomedical research in Britain, particularly studies that use genetically modified mice to study the roles of genes in living organisms. The annual Home Office report covers a range of procedures, including the breeding of genetically modified animals, taking blood and tissue samples from animals, and more invasive procedures to the brain and treatments for incurable diseases such as cancer and Parkinson&#8217;s disease. Many animals are used for more than one procedure, so the number of animals involved in medical research is considerably smaller.</p>
<p>DATA: <a href="http://spreadsheets.google.com/ccc?key=tSu7CRvGHFeU_y8HMxQ4qeQ">full details of animal experiments as a spreadsheet</a></p>
<div class="embed block">
<h2>Scientific procedures on animals</h2>
<table class="in-article sortable" cellspacing="0" cellpadding="0">
<caption>Numbers in 000s. Click heading to sort</p>
</caption>
<thead>
<tr>
<th id="table-cell-2114--1-0" class="left bold" scope="col">
<div>Species</div>
</th>
<th id="table-cell-2114--1-1" class="left bold" scope="col">
<div>2003</div>
</th>
<th id="table-cell-2114--1-2" class="left bold" scope="col">
<div>2004</div>
</th>
<th id="table-cell-2114--1-3" class="left bold" scope="col">
<div>2005</div>
</th>
<th id="table-cell-2114--1-4" class="left bold" scope="col">
<div>2006</div>
</th>
<th id="table-cell-2114--1-5" class="left bold" scope="col">
<div>2007</div>
</th>
<th id="table-cell-2114--1-6" class="last left bold" scope="col">
<div>2008</div>
</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="7">
<div class="footer">
<div class="notes">
<p>SOURCE: <a href="http://www.homeoffice.gov.uk/rds/scientific1.html#new">Home Office</a></p>
</div>
</div>
</td>
</tr>
</tfoot>
<tbody>
<tr>
<td id="table-cell-2114-0-0" class="left bold">Mouse</td>
<td id="table-cell-2114-0-1" class="left">1816.9</td>
<td id="table-cell-2114-0-2" class="left">1919.1</td>
<td id="table-cell-2114-0-3" class="left">1961</td>
<td id="table-cell-2114-0-4" class="left">2067.1</td>
<td id="table-cell-2114-0-5" class="left">2221.9</td>
<td id="table-cell-2114-0-6" class="last left">2418.6</td>
</tr>
<tr class="odd">
<td id="table-cell-2114-1-0" class="left bold">Rat</td>
<td id="table-cell-2114-1-1" class="left">496.4</td>
<td id="table-cell-2114-1-2" class="left">464.7</td>
<td id="table-cell-2114-1-3" class="left">424.5</td>
<td id="table-cell-2114-1-4" class="left">406.2</td>
<td id="table-cell-2114-1-5" class="left">385.7</td>
<td id="table-cell-2114-1-6" class="last left">355.4</td>
</tr>
<tr>
<td id="table-cell-2114-2-0" class="left bold">Other rodent</td>
<td id="table-cell-2114-2-1" class="left">48.1</td>
<td id="table-cell-2114-2-2" class="left">37.5</td>
<td id="table-cell-2114-2-3" class="left">41.5</td>
<td id="table-cell-2114-2-4" class="left">37.6</td>
<td id="table-cell-2114-2-5" class="left">37.3</td>
<td id="table-cell-2114-2-6" class="last left">34.5</td>
</tr>
<tr class="odd">
<td id="table-cell-2114-3-0" class="left bold">Rabbit</td>
<td id="table-cell-2114-3-1" class="left">25.3</td>
<td id="table-cell-2114-3-2" class="left">21.7</td>
<td id="table-cell-2114-3-3" class="left">22.8</td>
<td id="table-cell-2114-3-4" class="left">20.4</td>
<td id="table-cell-2114-3-5" class="left">19.6</td>
<td id="table-cell-2114-3-6" class="last left">17.1</td>
</tr>
<tr>
<td id="table-cell-2114-4-0" class="left bold">Carnivore</td>
<td id="table-cell-2114-4-1" class="left">10.9</td>
<td id="table-cell-2114-4-2" class="left">10.7</td>
<td id="table-cell-2114-4-3" class="left">10.1</td>
<td id="table-cell-2114-4-4" class="left">9.8</td>
<td id="table-cell-2114-4-5" class="left">9</td>
<td id="table-cell-2114-4-6" class="last left">8.9</td>
</tr>
<tr class="odd">
<td id="table-cell-2114-5-0" class="left bold">Ungulate (eg deer)</td>
<td id="table-cell-2114-5-1" class="left">75.5</td>
<td id="table-cell-2114-5-2" class="left">75.1</td>
<td id="table-cell-2114-5-3" class="left">61.4</td>
<td id="table-cell-2114-5-4" class="left">55.8</td>
<td id="table-cell-2114-5-5" class="left">48.2</td>
<td id="table-cell-2114-5-6" class="last left">54.9</td>
</tr>
<tr>
<td id="table-cell-2114-6-0" class="left bold">Primate</td>
<td id="table-cell-2114-6-1" class="left">4.8</td>
<td id="table-cell-2114-6-2" class="left">4.2</td>
<td id="table-cell-2114-6-3" class="left">4.7</td>
<td id="table-cell-2114-6-4" class="left">4.2</td>
<td id="table-cell-2114-6-5" class="left">4</td>
<td id="table-cell-2114-6-6" class="last left">4.6</td>
</tr>
<tr class="odd">
<td id="table-cell-2114-7-0" class="left bold">Other mammal</td>
<td id="table-cell-2114-7-1" class="left">1.7</td>
<td id="table-cell-2114-7-2" class="left">2.4</td>
<td id="table-cell-2114-7-3" class="left">2.3</td>
<td id="table-cell-2114-7-4" class="left">1.7</td>
<td id="table-cell-2114-7-5" class="left">1.6</td>
<td id="table-cell-2114-7-6" class="last left">1</td>
</tr>
<tr>
<td id="table-cell-2114-8-0" class="left bold">Bird</td>
<td id="table-cell-2114-8-1" class="left">121.6</td>
<td id="table-cell-2114-8-2" class="left">105.3</td>
<td id="table-cell-2114-8-3" class="left">113.2</td>
<td id="table-cell-2114-8-4" class="left">114.4</td>
<td id="table-cell-2114-8-5" class="left">127.6</td>
<td id="table-cell-2114-8-6" class="last left">123.3</td>
</tr>
<tr class="odd">
<td id="table-cell-2114-9-0" class="left bold">Reptile/Amphibian</td>
<td id="table-cell-2114-9-1" class="left">16.6</td>
<td id="table-cell-2114-9-2" class="left">19.5</td>
<td id="table-cell-2114-9-3" class="left">21.8</td>
<td id="table-cell-2114-9-4" class="left">20.8</td>
<td id="table-cell-2114-9-5" class="left">19</td>
<td id="table-cell-2114-9-6" class="last left">32.8</td>
</tr>
<tr>
<td id="table-cell-2114-10-0" class="left bold">Fish</td>
<td id="table-cell-2114-10-1" class="left">174</td>
<td id="table-cell-2114-10-2" class="left">194.6</td>
<td id="table-cell-2114-10-3" class="left">232.9</td>
<td id="table-cell-2114-10-4" class="left">274.1</td>
<td id="table-cell-2114-10-5" class="left">327.6</td>
<td id="table-cell-2114-10-6" class="last left">605.2</td>
</tr>
<tr class="odd">
<td id="table-cell-2114-11-0" class="left bold">Total</td>
<td id="table-cell-2114-11-1" class="left">2791.8</td>
<td id="table-cell-2114-11-2" class="left">2854.9</td>
<td id="table-cell-2114-11-3" class="left">2896.2</td>
<td id="table-cell-2114-11-4" class="left">3012</td>
<td id="table-cell-2114-11-5" class="left">3201.5</td>
<td id="table-cell-2114-11-6" class="last left">3656.1</td>
</tr>
</tbody>
</table>
</div>
<p><strong>PROCESSING CODE (in progress):</strong></p>
<p><code>float[] track1;<br />
float[] track2;<br />
float[] track3;<br />
float[] track4;<br />
float[] track5;<br />
float[] track6;<br />
float[] track7;<br />
float[] track8;</code></p>
<p><code>import ddf.minim.*;<br />
import processing.serial.*;</p>
<p>import fullscreen.*;<br />
//FullScreen fs;</p>
<p>Minim minim;<br />
//////////////////////////////////////////music files number of animals<br />
int totalSounds = 20;<br />
AudioPlayer[] sound = new AudioPlayer[totalSounds];<br />
boolean down = false;<br />
AudioPlayer beat;<br />
AudioPlayer beat_short;</p>
<p>int letras[] = {77,78,66,86,67,88,90,76,75,74,72,71,70,68,83,65,80,79,73,85};</p>
<p>//char letras[] = {'M','N','B','V','C','X','Z','L','K','J','H','G','F','D','S','A','P','O','I','U'};</p>
<p>//////////////////////////////////////////ratio = amount of animals in every purpose<br />
float[] ratio = new float[8];</p>
<p>float[] ini = new float[8];<br />
float[] r = new float[8];<br />
float[] s = new float[8];</p>
<p>int animalNumber;<br />
int[] colorAnimal = new int[22];</p>
<p>Serial port;</p>
<p>void setup(){<br />
  size(1280,800);<br />
  background(255);<br />
  smooth();</p>
<p>//  fs = new FullScreen(this);<br />
//  fs.enter(); </p>
<p>  minim = new Minim(this);</p>
<p>port = new Serial(this, Serial.list()[0], 9600);</p>
<p>port.write('R');</p>
<p>beat = minim.loadFile("beat2.wav");<br />
beat_short = minim.loadFile("beat.wav");</p>
<p>//////////////////////////////////////////load the .CSV<br />
  String[] input = loadStrings("animals2.csv");</p>
<p>  animalNumber = input.length;</p>
<p> for(int i=0; i < input.length; i++){</p>
<p>    String[] splits = input[i].split(",");</p>
<p>//////////////////////////////////////////load sounds<br />
    if (i< totalSounds){<br />
      String name = "a_"+ i  + ".wav";<br />
      sound[i] = minim.loadFile(name);</p>
<p>    }</p>
<p>  colorAnimal[i] = 20 + 10 * (23-i);</p>
<p>    if(i == 0){</p>
<p>//////////////////////////////////////////asign ratio to tracks depending on the amount of animals used<br />
for(int u=0; u < 8; u++){<br />
  ratio[u] = float(splits[u+1]);<br />
}</p>
<p>    }</p>
<p>////////////////////////////////////////////print track names<br />
    if(i==1){<br />
      int posinit = 30;<br />
      fill(0,150);<br />
      text("tracks:", 30, posinit);<br />
      for (int u=1; u < 9; u++){<br />
          fill(0,100);<br />
          text("0"+u+". "+splits[9-u], 30, posinit + 20*u);<br />
     }</p>
<p>   }</p>
<p>    if (i > 1){</p>
<p>////////////////////////////////////////////print animals names</p>
<p>     smooth();<br />
     fill(colorAnimal[i]);<br />
      text(splits[0], 1060, 150 + (20) * (i));</p>
<p>//////////////////////////////////////////first ponit to draw arc<br />
for(int u=0; u < 8; u++){</p>
<p>  float maxR = 2.6; // maximo valor en la cantidad total de animales en todos los propositos<br />
  float maxRR = 700; //maximo valor del radio de la circunferencia mas grande</p>
<p>  s[7-u]=map(float(splits[u+1]),0,100,0,2*PI);<br />
  r[u]=map(ratio[7-u],0,maxR,100,maxRR);</p>
<p>//////////////////////////////////////////print tracks</p>
<p>}</p>
<p>//fill(60 + 1.5 * (23-i), 10 + 11 * (23-i) , 60 + 14 * (23-i));</p>
<p>for(int u=0; u < 8; u++){<br />
   fill(colorAnimal[i]);<br />
    drawtrack(u);<br />
//  //////////////////////////////////////////print white circles<br />
 stroke(255, 100);<br />
  strokeWeight(0.5);<br />
  noFill();<br />
  ellipse(width*0.5, height*0.5,r[u],r[u]);<br />
}</p>
<p>      }<br />
 }</p>
<p>}</p>
<p>void draw(){</p>
<p>  background(255);<br />
  smooth();</p>
<p>  PImage b;<br />
// Images must be in the "data" directory to load correctly<br />
   b = loadImage("cd.jpg");<br />
   image(b, 0, 0);</p>
<p>//////////////////////////////////////////tracks</p>
<p>    if (keyPressed &#038;&#038; !down) {<br />
        down=true;</p>
<p>//////////////////////////////////////////track1<br />
        if (key == '1') {</p>
<p>          int loops1[] = {10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};<br />
          int sep1 = 900;</p>
<p>for (int i =0; i< 20;i++){<br />
            if (loops1[i] != 0){</p>
<p>              delay(sep1);</p>
<p>              if (loops1[i] == 1){<br />
              beat.play(0);<br />
              sound[i].play(0);</p>
<p>              manouno();<br />
              port.write(letras[i]);</p>
<p>              } else{<br />
              beat_short.play(0);<br />
              beat_short.loop(loops1[i]-1);<br />
              sound[i].play(0);<br />
              sound[i].loop(loops1[i]-1);</p>
<p>              for (int u =0; u < loops1[i]; u++){</p>
<p>                  manodos();<br />
                  port.write(letras[i]);<br />
                  delay(sep1/3);<br />
              }</p>
<p>              }</p>
<p>                delay(sep1);<br />
              } else{<br />
             delay(0);</p>
<p>            }<br />
          }</p>
<p>        }  </p>
<p>//////////////////////////////////////////track2<br />
        if (key == '2') {</p>
<p>          int loops2[] = {9,1,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0};<br />
          int sep2 = 900;</p>
<p>for (int i =0; i< 20;i++){<br />
            if (loops2[i] != 0){<br />
              delay(sep2);</p>
<p>              if (loops2[i] == 1){<br />
              beat.play(0);<br />
              sound[i].play(0);</p>
<p>              manouno();<br />
              delay(100);<br />
              manodos();<br />
              port.write(letras[i]);</p>
<p>              } else{<br />
              beat_short.play(0);<br />
              beat_short.loop(loops2[i]-1);<br />
              sound[i].play(0);<br />
              sound[i].loop(loops2[i]-1);</p>
<p>              for (int u =0; u< loops2[i]; u++){</p>
<p>                  manodos();<br />
                  port.write(letras[i]);<br />
                  delay(sep2/3);<br />
              }</p>
<p>              }</p>
<p>                delay(sep2);<br />
              }else{<br />
             delay(0);</p>
<p>            }<br />
          }</p>
<p>        }   </p>
<p>//////////////////////////////////////////track3<br />
        if (key == '3') {</p>
<p>          int loops3[] = {6,1,0,0,1,1,1,1,1,1,0,0,1,2,1,0,1,0,0,2};<br />
          int sep3 = 900;</p>
<p>for (int i =0; i< 20;i++){<br />
            if (loops3[i] != 0){<br />
              delay(sep3);</p>
<p>              if (loops3[i] == 1){<br />
              beat.play(0);<br />
              sound[i].play(0);</p>
<p>              manouno();<br />
              delay(100);<br />
              manodos();</p>
<p>              port.write(letras[i]);</p>
<p>              } else{<br />
              beat_short.play(0);<br />
              beat_short.loop(loops3[i]-1);<br />
              sound[i].play(0);<br />
              sound[i].loop(loops3[i]-1);</p>
<p>              for (int u =0; u< loops3[i]; u++){</p>
<p>                  manodos();<br />
                  port.write(letras[i]);<br />
                  delay(sep3/3);<br />
              }</p>
<p>              }</p>
<p>              delay(sep3);</p>
<p>            } else{<br />
             delay(0);</p>
<p>            }<br />
          }</p>
<p>        }   </p>
<p>//////////////////////////////////////////track4<br />
        if (key == '4') {</p>
<p>          int loops4[] = {7,1,0,1,0,0,1,1,0,1,0,1,1,1,0,1,1,1,1,3};<br />
          int sep4 = 900;</p>
<p>for (int i =0; i< 20;i++){<br />
            if (loops4[i] != 0){</p>
<p>              delay(sep4);</p>
<p>              if (loops4[i] == 1){<br />
              beat.play(0);<br />
              sound[i].play(0);</p>
<p>              manouno();<br />
              delay(100);<br />
              manodos();</p>
<p>              port.write(letras[i]);</p>
<p>              } else{<br />
              beat_short.play(0);<br />
              beat_short.loop(loops4[i]-1);<br />
              sound[i].play(0);<br />
              sound[i].loop(loops4[i]-1);</p>
<p>              for (int u =0; u< loops4[i]; u++){<br />
                  manodos();<br />
                  port.write(letras[i]);<br />
                  delay(sep4/3);<br />
              }</p>
<p>              }</p>
<p>              delay(sep4);</p>
<p>            } else{<br />
             delay(0);</p>
<p>            }<br />
          }</p>
<p>        }<br />
//<br />
//<br />
//////////////////////////////////////////track5<br />
        if (key == '5') {</p>
<p>          int loops5[] = {2,1,1,1,0,1,1,1,1,1,0,0,1,8,1,0,1,0,0,1};<br />
          int sep5 = 900;</p>
<p>for (int i =0; i< 20;i++){<br />
            if (loops5[i] != 0){<br />
               delay(sep5);</p>
<p>              if (loops5[i] == 1){<br />
              beat.play(0);<br />
              sound[i].play(0);</p>
<p>              manouno();<br />
              delay(100);<br />
              manodos();</p>
<p>              port.write(letras[i]);</p>
<p>              } else{<br />
              beat_short.play(0);<br />
              beat_short.loop(loops5[i]-1);<br />
              sound[i].play(0);<br />
              sound[i].loop(loops5[i]-1);</p>
<p>              for (int u =0; u< loops5[i]; u++){</p>
<p>                  manodos();<br />
                  port.write(letras[i]);<br />
                  delay(sep5/3);<br />
              }</p>
<p>              }</p>
<p>              delay(sep5);</p>
<p>            } else{<br />
             delay(0);</p>
<p>            }<br />
          }</p>
<p>        }<br />
//<br />
//////////////////////////////////////////track6<br />
        if (key == '6') {</p>
<p>          int loops6[] = {9,1,0,1,1,1,1,1,1,0,0,1,0,1,1,0,0,0,1,1};<br />
          int sep6 = 900;</p>
<p>for (int i =0; i< 20;i++){<br />
            if (loops6[i] != 0){</p>
<p>              delay(sep6);</p>
<p>              if (loops6[i] == 1){<br />
              beat.play(0);<br />
              sound[i].play(0);</p>
<p>              manouno();<br />
              delay(100);<br />
              manodos();</p>
<p>              port.write(letras[i]);</p>
<p>              } else{<br />
              beat_short.play(0);<br />
              beat_short.loop(loops6[i]-1);<br />
              sound[i].play(0);<br />
              sound[i].loop(loops6[i]-1);</p>
<p>              for (int u =0; u< loops6[i]; u++){</p>
<p>                  manodos();<br />
                  port.write(letras[i]);<br />
                  delay(sep6/3);<br />
              }</p>
<p>              }</p>
<p>              delay(sep6);</p>
<p>            } else{<br />
             delay(0);</p>
<p>            }<br />
          }</p>
<p>        }<br />
//<br />
//////////////////////////////////////////track7<br />
        if (key == '7') {</p>
<p>          int loops7[] = {8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2};<br />
          int sep7 = 900;</p>
<p>for (int i =0; i< 20;i++){<br />
            if (loops7[i] != 0){</p>
<p>              delay(sep7);</p>
<p>              if (loops7[i] == 1){<br />
              beat.play(0);<br />
              sound[i].play(0);</p>
<p>              manouno();<br />
              delay(100);<br />
              manodos();</p>
<p>              port.write(letras[i]);</p>
<p>              } else{<br />
              beat_short.play(0);<br />
              beat_short.loop(loops7[i]-1);<br />
              sound[i].play(0);<br />
              sound[i].loop(loops7[i]-1);</p>
<p>              for (int u =0; u< loops7[i]; u++){</p>
<p>                  manodos();<br />
                  port.write(letras[i]);<br />
                  delay(sep7/3);<br />
              }</p>
<p>              }</p>
<p>              delay(sep7);</p>
<p>            } else{<br />
             delay(0);</p>
<p>            }<br />
          }</p>
<p>        }   </p>
<p>//////////////////////////////////////////track8<br />
        if (key == '8') {</p>
<p>          int loops8[] = {10,0,0,0,0,0,1,0,1,0,0,0,0,1,0,0,0,0,1,1};<br />
          int sep8 = 900;</p>
<p>          for (int i =0; i< 20;i++){<br />
            if (loops8[i] != 0){</p>
<p>              delay(sep8);</p>
<p>              if (loops8[i] == 1){<br />
              beat.play(0);<br />
              sound[i].play(0);</p>
<p>              manouno();<br />
              delay(100);<br />
              manodos();</p>
<p>              port.write(letras[i]);</p>
<p>              } else{<br />
              beat_short.play(0);<br />
              beat_short.loop(loops8[i]-1);<br />
              sound[i].play(0);<br />
              sound[i].loop(loops8[i]-1);</p>
<p>              for (int u =0; u< loops8[i]; u++){</p>
<p>                  manodos();<br />
                  port.write(letras[i]);<br />
                  delay(sep8/3);<br />
              }</p>
<p>              }</p>
<p>              delay(sep8);</p>
<p>            } else{<br />
             delay(0);</p>
<p>            }<br />
          }</p>
<p>        }   </p>
<p>    }<br />
}<br />
void keyReleased() {<br />
  down=false;<br />
}</p>
<p>void stop(){<br />
  for (int i =0; i< 20;i++){<br />
    sound[i].close();<br />
  }<br />
  minim.stop();<br />
  super.stop();<br />
}</p>
<p>////////////////////////////////right hand<br />
void manouno() {<br />
  port.write('E');<br />
  delay(250);<br />
  port.write('Q');<br />
}</p>
<p>////////////////////////////////left hand<br />
void manodos() {<br />
  port.write('W');<br />
  delay(250);<br />
  port.write('Q');<br />
}</p>
<p>void drawtrack(int t){</p>
<p>          pushMatrix();<br />
            translate(width*0.5, height*0.5);<br />
            rotate(ini[t]);</p>
<p>            noStroke();<br />
            arc(0, 0,r[t],r[t],0,s[t]);<br />
            ini[t] = ini[t] + s[t];</p>
<p>          popMatrix();</p>
<p>}</p>
<p>void deletetrack(){</p>
<p>   background(255);</p>
<p>}</p>
<p>void drawCirculo(float vel, float radio) {</p>
<p>  float angle = 0;</p>
<p> for (int i = 0; i< 360; i++){</p>
<p>  float px = width/2 + cos(radians(angle))*(radio/2);<br />
  float py = height/2 + sin(radians(angle))*(radio/2);</p>
<p>  noStroke();<br />
  fill(0);<br />
  ellipse (px, py, 5, 5);<br />
  stroke(100);<br />
  angle -= vel;</p>
<p> }</p>
<p>  // send small ellipse along sine curve<br />
  // to illustrate relationship of circle to wave<br />
}<br />
</code></p>
<p><code><br />
</code><br />
<code></p>
<p>class playNote{<br />
  AudioPlayer sound;</p>
<p>  playNote(AudioPlayer sound_){<br />
    sound = sound_;</p>
<p>  }</p>
<p>  void playNote(){</p>
<p>    sound.play();</p>
<p>  }</p>
<p>}<br />
</code></p>
<p><code><br />
</code><br />
class circular{</p>
<p>  float radio, vel;</p>
<p>  circular(float radio_, float vel_){<br />
    radio = radio_;<br />
    vel = vel_;</p>
<p>  }</p>
<p>  void drawCirculo(){</p>
<p>    for (int u=0; u<360; u++){</p>
<p>    float px = width/2 + cos(radians(u))*(radio/2);<br />
    float py = height/2 + sin(radians(u))*(radio/2);<br />
     fill(255);<br />
      ellipse (px, py, 1, 1);<br />
      stroke(255);<br />
      line(width/2, height/2, px, py);<br />
      stroke(200);<br />
    }<br />
  }</p>
<p>}<br />
<code></p>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ameliechucky.cl/itp/data-rep-final/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

