<?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>New Textiles 2011 &#187; Computational Design</title>
	<atom:link href="http://newtextiles.media.mit.edu/?feed=rss2&#038;cat=19" rel="self" type="application/rss+xml" />
	<link>http://newtextiles.media.mit.edu</link>
	<description></description>
	<lastBuildDate>Thu, 08 Dec 2011 06:12:28 +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>The T-Shirt Plotter</title>
		<link>http://newtextiles.media.mit.edu/?p=2762</link>
		<comments>http://newtextiles.media.mit.edu/?p=2762#comments</comments>
		<pubDate>Sun, 01 May 2011 22:37:13 +0000</pubDate>
		<dc:creator>imoyer@mit.edu</dc:creator>
				<category><![CDATA[Computational Design]]></category>

		<guid isPermaLink="false">http://newtextiles.media.mit.edu/?p=2762</guid>
		<description><![CDATA[For this project I experimented with computerized plotting on T-shirts using Micron brand drawing pens. To date this has been the most fun thing that I&#8217;ve made on my Multifab personal fabricator . I&#8217;m starting to think that fashion might be the under-explored killer app for personal fabrication. A Three-Color-Process Face Step 1: Start with [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a rel="attachment wp-att-2763" href="http://newtextiles.media.mit.edu/?attachment_id=2763"><img class="size-full wp-image-2763  aligncenter" title="FullShirtLJ" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/05/FullShirtLJ.jpg" alt="" width="600" height="353" /></a><span style="font-size: medium;"> </span></p>
<p style="text-align: left;"><span style="font-size: medium;">For this project I experimented with computerized plotting on T-shirts using Micron brand drawing pens. To date this has been the most fun thing that I&#8217;ve made on my <a href="http://mtm.cba.mit.edu/fabinabox/blog.html">Multifab personal fabricator </a>. I&#8217;m starting to think that fashion might be the under-explored killer app for personal fabrication.</span></p>
<p style="text-align: left;"><span style="font-size: medium;"><span id="more-2762"></span><span style="font-size: medium;"><strong>A Three-Color-Process Face</strong></span></span></p>
<p style="text-align: center;"><span style="font-size: medium;"><span style="font-size: medium;"><strong><a rel="attachment wp-att-2764" href="http://newtextiles.media.mit.edu/?attachment_id=2764"><img class="size-full wp-image-2764  aligncenter" title="justface" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/05/justface.jpg" alt="" width="600" height="464" /></a></strong></span></span></p>
<p style="text-align: left;"><span style="font-size: medium;"><span style="font-size: medium;"><strong>Step 1: Start with an Image</strong></span></span></p>
<p style="text-align: center;"><span style="font-size: medium;"><span style="font-size: medium;"><strong><a rel="attachment wp-att-2770" href="http://newtextiles.media.mit.edu/?attachment_id=2770"><img class="size-full wp-image-2770  aligncenter" title="ljtoothbrush" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/05/ljtoothbrush.jpg" alt="" width="600" height="398" /></a></strong></span></span></p>
<p style="text-align: left;">
<p style="text-align: left;"><span style="font-size: medium;"><span style="font-size: medium;"><strong>Step 2: Decompose into Three Colors</strong></span></span></p>
<p style="text-align: center;"><span style="font-size: medium;"><span style="font-size: medium;"><strong><a rel="attachment wp-att-2765" href="http://newtextiles.media.mit.edu/?attachment_id=2765"><img class="size-full wp-image-2765      aligncenter" title="threecolor_decompose" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/05/threecolor_decompose.jpg" alt="" width="750" height="166" /></a></strong></span></span></p>
<p style="text-align: left;">
<p style="text-align: left;"><span style="font-size: medium;"><span style="font-size: medium;"><strong>Step 3: Apply Charcoal Filter in Photoshop</strong></span></span></p>
<p style="text-align: center;"><span style="font-size: medium;"><span style="font-size: medium;"><strong><a rel="attachment wp-att-2766" href="http://newtextiles.media.mit.edu/?attachment_id=2766"><img class="size-full wp-image-2766  aligncenter" title="threecolor_charcoal" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/05/threecolor_charcoal.jpg" alt="" width="750" height="166" /></a></strong></span></span></p>
<p style="text-align: left;">
<p style="text-align: left;"><span style="font-size: medium;"><span style="font-size: medium;"><strong>Step 4: Convert to Black and White</strong></span></span></p>
<p style="text-align: center;"><span style="font-size: medium;"><span style="font-size: medium;"><strong><a rel="attachment wp-att-2767" href="http://newtextiles.media.mit.edu/?attachment_id=2767"><img class="size-full wp-image-2767  aligncenter" title="threecolor_blackandwhite" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/05/threecolor_blackandwhite.jpg" alt="" width="750" height="166" /></a></strong></span></span></p>
<p style="text-align: left;"><span style="font-size: medium;"><span style="font-size: medium;"><strong>Step 5: Trace Images and Generate Toolpath using Prof. Gershenfeld&#8217;s FAB Modules</strong></span></span></p>
<p style="text-align: center;"><span style="font-size: medium;"><span style="font-size: medium;"><strong><a rel="attachment wp-att-2771" href="http://newtextiles.media.mit.edu/?attachment_id=2771"><img class="size-full wp-image-2771  aligncenter" title="threecolor_trace" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/05/threecolor_trace1.jpg" alt="" width="750" height="166" /></a><span style="font-size: small;"><span style="font-weight: normal;"> </span></span></strong></span></span></p>
<p style="text-align: center;"><span style="font-size: medium;"><span style="font-size: medium;"><strong><span style="font-size: small;"><span style="font-weight: normal;">Note: I adjusted the tracing parameters so that the green layer appeared dominant with the greatest level of rendering.</span></span></strong></span></span></p>
<p style="text-align: left;"><span style="font-size: x-small;"><strong><span style="font-size: medium;">Step 6: Load a T-Shirt into the Multifab</span></strong></span></p>
<p style="text-align: center;"><span style="font-size: x-small;"><strong><span style="font-size: medium;"><a rel="attachment wp-att-2773" href="http://newtextiles.media.mit.edu/?attachment_id=2773"><img class="size-full wp-image-2773  aligncenter" title="tshirtinmultifab" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/05/tshirtinmultifab.jpg" alt="" width="600" height="400" /></a></span></strong></span></p>
<p style="text-align: left;"><span style="font-size: x-small;"><strong><span style="font-size: medium;">Step 7: Load a Pen and Run Toolpath</span></strong></span></p>
<p style="text-align: center;"><span style="font-size: x-small;"><strong><span style="font-size: medium;"><a rel="attachment wp-att-2774" href="http://newtextiles.media.mit.edu/?attachment_id=2774"><img class="size-full wp-image-2774  aligncenter" title="green" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/05/green.jpg" alt="" width="600" height="338" /></a></span></strong></span></p>
<p style="text-align: left;"><span style="font-size: x-small;"><strong><span style="font-size: medium;">Step 8: Repeat for Red and Blue</span></strong></span></p>
<p style="text-align: center;"><span style="font-size: x-small;"><strong><span style="font-size: medium;"><a rel="attachment wp-att-2772" href="http://newtextiles.media.mit.edu/?attachment_id=2772"><img class="size-full wp-image-2772  aligncenter" title="drawing" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/05/drawing.jpg" alt="" width="600" height="338" /></a></span></strong></span></p>
<p style="text-align: left;">
<p style="text-align: left;"><span style="font-size: x-small;"><strong><span style="font-size: large;">T-Shirt Typing</span></strong></span></p>
<p style="text-align: center;"><span style="font-size: x-small;"><strong><span style="font-size: large;"><a rel="attachment wp-att-2780" href="http://newtextiles.media.mit.edu/?attachment_id=2780"><img class="size-full wp-image-2780  aligncenter" title="Typing_Full" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/05/Typing_Full.jpg" alt="" width="400" height="464" /></a><a rel="attachment wp-att-2779" href="http://newtextiles.media.mit.edu/?attachment_id=2779"></a></span></strong></span></p>
<p style="text-align: center;"><span style="font-size: x-small;"><strong><span style="font-size: large;"><a rel="attachment wp-att-2779" href="http://newtextiles.media.mit.edu/?attachment_id=2779"><img class="size-full wp-image-2779  aligncenter" title="Typing_CloseUp" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/05/Typing_CloseUp.jpg" alt="" width="600" height="397" /></a></span></strong></span></p>
<p style="text-align: left;">
<p style="text-align: left;"><span style="font-size: x-small;"><strong><span style="font-size: large;">Algorithmic Generation of Toolpaths: The Dragon Curve</span></strong></span></p>
<p style="text-align: center;"><span style="font-size: x-small;"><strong><span style="font-size: large;"><a rel="attachment wp-att-2782" href="http://newtextiles.media.mit.edu/?attachment_id=2782"><img class="size-full wp-image-2782  aligncenter" title="algorithm_front_full" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/05/algorithm_front_full.jpg" alt="" width="400" height="453" /></a><br />
</span></strong></span></p>
<p style="text-align: left;">
<p style="text-align: left;"><span style="font-size: medium;">With a color change every 1024 segments:</span></p>
<p style="text-align: center;"><span style="font-size: x-small;"><strong><span style="font-size: large;"><a rel="attachment wp-att-2777" href="http://newtextiles.media.mit.edu/?attachment_id=2777"><img class="size-full wp-image-2777  aligncenter" title="Algorithm_Back_CloseUp" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/05/Algorithm_Back_CloseUp.jpg" alt="" width="600" height="397" /></a><span><span style="font-size: medium;"><span style="font-weight: normal;"> </span></span></span></span></strong></span></p>
<p style="text-align: left;"><span><span style="font-size: medium;">Several re-draws with different colors:</span></span></p>
<p style="text-align: center;"><a rel="attachment wp-att-2778" href="http://newtextiles.media.mit.edu/?attachment_id=2778"><img class="size-full wp-image-2778  aligncenter" title="Algorithm_Front_CloseUp" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/05/Algorithm_Front_CloseUp.jpg" alt="" width="600" height="397" /></a></p>
<p style="text-align: left;">
<p style="text-align: left;"><span style="font-size: x-small;"><strong><span style="font-size: large;"><span><span style="font-size: medium;"><span style="font-weight: normal;">This toolpath was generated in real-time as it was drawn, using an L-system algorithm called the &#8220;Dragon Curve&#8221;. I learned about the algorithm from the Wikipedia page on L-Systems. The basic rules to generate the pattern (from the Wikipedia page) are:</span></span></span></span></strong></span></p>
<p style="text-align: left;"><span style="font-size: small;">Actions: F, +, and -</span></p>
<p style="text-align: left;"><span style="font-size: x-small;"><span style="white-space: pre;"><span style="font-size: small;"> </span></span><span style="font-size: small;">F: draw forward</span></span></p>
<p style="text-align: left;"><span style="font-size: xx-small;"><span style="white-space: pre;"><span style="font-size: small;"> </span></span><span style="font-size: small;"><span>+: turn right 90 degrees</span></span></span></p>
<p style="text-align: left;"><span style="font-size: xx-small;"><span style="font-size: small;"><span> </span></span></span><span style="font-size: small;"><span style="white-space: pre;"> </span>-: turn left 90 degrees</span></p>
<p style="text-align: left;"><span style="font-size: small;">Functions: X and Y</span></p>
<p style="text-align: left;"><span style="font-size: small;"><span style="white-space: pre;"> </span>X -&gt; X+YF</span></p>
<p style="text-align: left;"><span style="font-size: small;"><span style="white-space: pre;"> </span>Y-&gt; FX-Y</span></p>
<p style="text-align: left;"><span style="font-size: small;">Starting Function Call: FX</span></p>
<p style="text-align: left;"><span><span style="font-size: medium;">Because the rules are recursive, the functions can call themselves. I recursed 11 calls deep to generate the first pattern, and 10 calls deep for the second pattern.</span></span></p>
<p style="text-align: left;">
<p style="text-align: left;"><span><span style="font-size: medium;">The algorithm was written in python, and was run within the Multifab control system to generate motion:</span></span></p>
<p style="text-align: left;"><span><span style="font-size: medium;"> </span></span></p>
<div id="_mcePaste"># THIS PROGRAM, DESIGNED TO RUN WITHIN THE VIRTUAL MACHINE ENVIRONMENT,</div>
<div id="_mcePaste"># DRAWS A DRAGON CURVE ACCORDING TO EXAMPLE 7 OF</div>
<div id="_mcePaste"># http://en.wikipedia.org/wiki/L-system</div>
<div id="_mcePaste"># WRITTEN BY ILAN MOYER 4/28/11</div>
<div id="_mcePaste"># THE RULES:</div>
<div id="_mcePaste"># X,Y are the variables</div>
<div id="_mcePaste"># F,+,- are the constants</div>
<div id="_mcePaste"># FX is the starting condition</div>
<div id="_mcePaste"># X -&gt; X+YF</div>
<div id="_mcePaste"># Y -&gt; FX-Y</div>
<div id="_mcePaste"># F means draw forwards</div>
<div id="_mcePaste"># &#8211; means turn left 90 degrees</div>
<div id="_mcePaste"># + means turn right 90 degrees</div>
<div># MACHINE STARTING CONDITIONS</div>
<div id="_mcePaste">mtm.machine_position = [0.0, 0.0, 0.0]</div>
<div id="_mcePaste">global traverse_height</div>
<div id="_mcePaste">global draw_height</div>
<div id="_mcePaste">global draw_speed</div>
<div id="_mcePaste">global updown_speed</div>
<div id="_mcePaste">global itercount</div>
<div id="_mcePaste">global colorchangecount</div>
<div id="_mcePaste">traverse_height = 0.05 #units in inches</div>
<div id="_mcePaste">draw_height = -0.05 #units in inches</div>
<div id="_mcePaste">draw_speed = 100 #units in inches/min</div>
<div id="_mcePaste">updown_speed = 10</div>
<div id="_mcePaste">curve_start_x = 4.5</div>
<div id="_mcePaste">curve_start_y = 4.5</div>
<div>#TRAVERSE TO STARTING POSITION</div>
<div id="_mcePaste">mtm.move(0.0, 0.0, traverse_height, updown_speed)</div>
<div id="_mcePaste">mtm.move(curve_start_x, curve_start_y, traverse_height, draw_speed)</div>
<div id="_mcePaste">mtm.move(curve_start_x, curve_start_y, draw_height, updown_speed)</div>
<div>#CURVE PARAMETERS</div>
<div id="_mcePaste">global segment_length</div>
<div id="_mcePaste">global iterations</div>
<div id="_mcePaste">segment_length = 0.06 #inches</div>
<div id="_mcePaste">iterations = 12</div>
<div>#CURVE VARIABLES</div>
<div id="_mcePaste">global orientation</div>
<div id="_mcePaste">orientation = 0 # 0 = right, 1 = up, 2 = left, 3 = down</div>
<div>#CHANGE PARAMETERS</div>
<div id="_mcePaste">itercount = 0</div>
<div id="_mcePaste">colorchangecount = 1025</div>
<div>#FUNCTIONS</div>
<div id="_mcePaste">global change_color</div>
<div>def change_color():</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>global traverse_height</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>print &#8220;CHANGE COLOR NOW!&#8221;</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>mtm.move(mtm.machine_position[0], mtm.machine_position[1], traverse_height, updown_speed)</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>donothing = raw_input(&#8220;HIT ENTER WHEN READY&#8221;)</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>mtm.move(mtm.machine_position[0], mtm.machine_position[1], draw_height, updown_speed)</div>
<div>global rotate_right</div>
<div id="_mcePaste">def rotate_right():</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>global orientation</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>orientation = orientation-1</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>if orientation == -1:</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>orientation = 3</div>
<div>global rotate_left</div>
<div>def rotate_left():</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>global orientation</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>orientation = orientation +1</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>if orientation == 4:</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>orientation = 0</div>
<div id="_mcePaste">global take_step</div>
<div>def take_step():</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>global itercount</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>global change_color</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>global colorchangecount</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>itercount = itercount +1</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>global segment_length</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>steps = {0:[segment_length, 0], 1:[0, segment_length], 2:[-segment_length, 0], 3:[0, -segment_length]}</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>current_steps = steps[orientation]</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>x_pos = mtm.machine_position[0]+float(current_steps[0])</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>y_pos = mtm.machine_position[1]+float(current_steps[1])</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>mtm.move(x_pos, y_pos, draw_height, draw_speed)</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>if itercount == colorchangecount:</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>itercount = 0</div>
<div id="_mcePaste">#        change_color()</div>
<div>global x_rule</div>
<div id="_mcePaste">def x_rule(current_iteration):</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>global x_rule</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>global y_rule</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>global take_step</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>global iterations</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>this_iteration = current_iteration+1</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>if this_iteration&gt;iterations:</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>return</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>x_rule(this_iteration)</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>rotate_right()</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>y_rule(this_iteration)</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>take_step()</div>
<div>global y_rule</div>
<div id="_mcePaste">def y_rule(current_iteration):</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>global x_rule</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>global y_rule</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>global take_step</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>global iterations</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>this_iteration = current_iteration+1</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>if this_iteration&gt;iterations:</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>return</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>take_step()</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>x_rule(this_iteration)</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>rotate_left()</div>
<div id="_mcePaste"><span style="white-space: pre;"> </span>y_rule(this_iteration)</div>
<div id="_mcePaste">#STARTING CONDITION</div>
<div id="_mcePaste">take_step()</div>
<div id="_mcePaste">x_rule(0)</div>
<div id="_mcePaste">mtm.move(mtm.machine_position[0], mtm.machine_position[1], traverse_height, updown_speed)</div>
<div id="_mcePaste">mtm.move(0, 0, traverse_height, draw_speed)</div>
<div id="_mcePaste">print &#8220;ITERATIONS: &#8221; + str(itercount)</div>
]]></content:encoded>
			<wfw:commentRss>http://newtextiles.media.mit.edu/?feed=rss2&#038;p=2762</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maria’s Late Embroidery Faces.</title>
		<link>http://newtextiles.media.mit.edu/?p=2735</link>
		<comments>http://newtextiles.media.mit.edu/?p=2735#comments</comments>
		<pubDate>Sat, 30 Apr 2011 02:42:00 +0000</pubDate>
		<dc:creator>maria.stangel</dc:creator>
				<category><![CDATA[Computational Design]]></category>

		<guid isPermaLink="false">http://newtextiles.media.mit.edu/?p=2735</guid>
		<description><![CDATA[I wanted to write a program that would generate different faces. I have started with the &#8220;tree&#8221; source code that Leah has provide for the embroidery machine toutorial. I was changing the properties untill I found the result close enough my idea. I picked up three random face-bases and  I added the eyes in Adobe [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" title="Computational Design Project" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/01.jpg" alt="" width="394" height="299" /></p>
<p>I wanted to write a program that would generate different faces. I have started with the &#8220;tree&#8221; source code that Leah has provide for the embroidery machine toutorial. I was changing the properties untill I found the result close enough my idea. I picked up three random face-bases and  I added the eyes in Adobe Illustrator.</p>
<p><span id="more-2735"></span></p>
<p>The embroidery machine was quite nice to me, however I needed some help to tame the bobbin. Sheralyn gave me her great support today, (Thank you!). My first version on a white fabric was a faces trial. I wasn&#8217;t satisfied  with the scale and composition so I adjusted my pattern in Illutrator and tried the second time on the pink fabric.</p>
<p>Most surprinig for mye was the machine&#8217;s &#8220;embroiding concept&#8221;. As I am used to the pronters I expected the same linear movement of the needle. It was interesting to see (and hard to understand) why the machine chose some pieces to draw first even if they were away from each other. I appreciate that we had an opportunity to lear this new technique in combination with programing in Processing.</p>
<p>Processing Code:</p>
<div id="_mcePaste">//Based on Leah&#8217;s Buechley Tree Generator</div>
<div id="_mcePaste">import processing.pdf.*;</div>
<div id="_mcePaste">float theta;</div>
<div id="_mcePaste">void setup() {</div>
<div id="_mcePaste">//set the size of the window (&amp; the pdf document)</div>
<div id="_mcePaste">size(640, 600);</div>
<div id="_mcePaste">smooth();</div>
<div id="_mcePaste">//set the name of the pdf document</div>
<div id="_mcePaste">beginRecord(PDF, &#8220;tree.pdf&#8221;);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">void draw() {</div>
<div id="_mcePaste">//everything happens in keyPressed</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">void keyPressed() {</div>
<div id="_mcePaste">//if the &#8216;q&#8217; key is pressed, finish drawing the PDF &amp; quit</div>
<div id="_mcePaste">if (key == &#8216;q&#8217;) {</div>
<div id="_mcePaste">endRecord();</div>
<div id="_mcePaste">exit();</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">//if any other key is pressed, draw a new face</div>
<div id="_mcePaste">else {</div>
<div id="_mcePaste">//set the background color to be white</div>
<div id="_mcePaste">background(255);</div>
<div id="_mcePaste">//set the stroke to be black</div>
<div id="_mcePaste">stroke(0);</div>
<div id="_mcePaste">//start the face in the middle of the screen</div>
<div id="_mcePaste">translate(width/2,height/2);</div>
<div id="_mcePaste">// Draw a circle</div>
<div id="_mcePaste">ellipse(0,0,60,60);</div>
<div id="_mcePaste">// Move to the edge</div>
<div id="_mcePaste">translate(0,-25);</div>
<div id="_mcePaste">// Start growing hair!</div>
<div id="_mcePaste">hair(30);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">void hair(float h) {</div>
<div id="_mcePaste">//each hair-dot will be between .7 &amp; .9 * the size of the previous one</div>
<div id="_mcePaste">h = h*random(.7,.9);</div>
<div id="_mcePaste">//the hair-dots will show up at random angles between 0 and 360 degrees</div>
<div id="_mcePaste">float a = random(0,360);</div>
<div id="_mcePaste">theta = radians(a);</div>
<div id="_mcePaste">// All recursive functions must have an exit condition!!!!</div>
<div id="_mcePaste">// Here, is the size of the circle, 15 pixels or less</div>
<div id="_mcePaste">if (h &gt; 15) {</div>
<div id="_mcePaste">pushMatrix();    // Save the current state of transformation (i.e. where are we now)</div>
<div id="_mcePaste">rotate(theta);   // Rotate by theta</div>
<div id="_mcePaste">ellipse(-h, -h, h, h);  // Draw the circle</div>
<div id="_mcePaste">fill(0);</div>
<div id="_mcePaste">// translate(0, -h); // Move</div>
<div id="_mcePaste">hair(h);       // Ok, now call myself to draw two new hair-dots</div>
<div id="_mcePaste">popMatrix();     // Whenever we get back here, we &#8220;pop&#8221; in order to restore the previous matrix state</div>
<div id="_mcePaste">// noFill();</div>
<div id="_mcePaste">// Repeat hair</div>
<div id="_mcePaste">pushMatrix();</div>
<div id="_mcePaste">rotate(-theta);</div>
<div id="_mcePaste">ellipse(h, h, -h, -h);</div>
<div id="_mcePaste">fill(0);</div>
<div id="_mcePaste">translate(0, -h);</div>
<div id="_mcePaste">hair(h);</div>
<div id="_mcePaste">popMatrix();</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">}</div>
<div></div>
<div></div>

<a href='http://newtextiles.media.mit.edu/?attachment_id=2819' title='03'><img width="76" height="150" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/031.jpg" class="attachment-thumbnail" alt="03" title="03" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2822' title='Faces'><img width="150" height="88" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/Faces1.jpg" class="attachment-thumbnail" alt="Faces" title="Faces" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2820' title='04'><img width="129" height="150" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/041.jpg" class="attachment-thumbnail" alt="04" title="04" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2821' title='05'><img width="150" height="112" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/051.jpg" class="attachment-thumbnail" alt="05" title="05" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2738' title='01'><img width="150" height="114" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/01.jpg" class="attachment-thumbnail" alt="01" title="01" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2818' title='02'><img width="110" height="150" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/021.jpg" class="attachment-thumbnail" alt="02" title="02" /></a>

]]></content:encoded>
			<wfw:commentRss>http://newtextiles.media.mit.edu/?feed=rss2&#038;p=2735</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(8 bit) Angel Fish</title>
		<link>http://newtextiles.media.mit.edu/?p=2568</link>
		<comments>http://newtextiles.media.mit.edu/?p=2568#comments</comments>
		<pubDate>Wed, 27 Apr 2011 01:15:11 +0000</pubDate>
		<dc:creator>KristyKat</dc:creator>
				<category><![CDATA[Computational Design]]></category>

		<guid isPermaLink="false">http://newtextiles.media.mit.edu/?p=2568</guid>
		<description><![CDATA[I struggled  on what to do for this project as I kept considered doing a 3D print fabric. However, I&#8217;m somewhat satisfied with my experience on the embroidery machine as it did give me some ideas on how to tackle my final project. Through Processing, I made a (8 bit) Angel fish by using overlapping [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_2676" class="wp-caption alignleft" style="width: 211px"><a rel="attachment wp-att-2676" href="http://newtextiles.media.mit.edu/?attachment_id=2676"><img class="size-full wp-image-2676" title="angelfish2" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/angelfish2.png" alt="" width="201" height="176" /></a><p class="wp-caption-text">8 bit Angle Fish made in Processing</p></div>
<p>I struggled  on what to do for this project as I kept considered doing a 3D print fabric. However, I&#8217;m somewhat satisfied with my experience on the embroidery machine as it did give me some ideas on how to tackle my final project.</p>
<p>Through Processing, I made a (8 bit) Angel fish by using overlapping triangles. It&#8217;s a small tribute to early computer graphics.</p>
<p>In the embroidery software, I learned that there were 26 shades of blue. Obviously, I didn&#8217;t have 26 shades of blue embroidery thread, so I choose to combine similar colors into 5 groups&#8230;</p>
<p>&#8230;On the embroidery machine, however, I learned that my 5 groups weren&#8217;t 5 groups as I ended up having the option to change the color some ~15+  times.</p>
<div id="attachment_2669" class="wp-caption alignnone" style="width: 810px"><a rel="attachment wp-att-2669" href="http://newtextiles.media.mit.edu/?attachment_id=2669"><img class="size-full wp-image-2669 " title="1-design" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/1-design.jpg" alt="" width="800" height="600" /></a><p class="wp-caption-text">Embroidery machine showing sections to be embroidered with thread installed on machine (for lack of better words).</p></div>
<p>In addition to not having as man groupings as I thought, I also had difficulty with tension and as a result, the bobbin thread made a random appearances and the sewing thread kept accumulating into messy tangles</p>
<div id="attachment_2673" class="wp-caption alignleft" style="width: 251px"><a rel="attachment wp-att-2673" href="http://newtextiles.media.mit.edu/?attachment_id=2673"><img class="size-full wp-image-2673" title="test1" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/test1.png" alt="" width="241" height="241" /></a><p class="wp-caption-text">Initial embroidery completed until I changed the bobbin</p></div>
<div id="attachment_2674" class="wp-caption alignleft" style="width: 255px"><a rel="attachment wp-att-2674" href="http://newtextiles.media.mit.edu/?attachment_id=2674"><img class="size-full wp-image-2674" title="test2" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/test2.png" alt="" width="245" height="245" /></a><p class="wp-caption-text">Tension on the new bobbin is too tight...</p></div>
<div id="attachment_2675" class="wp-caption alignleft" style="width: 254px"><a rel="attachment wp-att-2675" href="http://newtextiles.media.mit.edu/?attachment_id=2675"><img class="size-full wp-image-2675" title="test3" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/test3.png" alt="" width="244" height="244" /></a><p class="wp-caption-text">...bobbin tension still too tight...</p></div>
<div id="attachment_2670" class="wp-caption alignnone" style="width: 282px"><a rel="attachment wp-att-2670" href="http://newtextiles.media.mit.edu/?attachment_id=2670"><img class="size-full wp-image-2670 " title="1-snag" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/1-snag.jpg" alt="" width="272" height="204" /></a><p class="wp-caption-text">Snag</p></div>
<p><strong>Final Result</strong></p>
<p>Following another student&#8217;s example, I decided to switch to a thicker fabric. The final embroidery still has the bobbin thread showing, but I suppose that this project was an experiment as I did switch threads several times and as a result, found by trial and error different tension settings for the threads as the automatic tension setting didn&#8217;t diminish the appearance of the bobbin thread.</p>
<p>Some things I learned and that I should keep in mind for my final project:</p>
<ul>
<li> I should use a bobbin thread whose color is close to the fabric, which is something that&#8217;s similarly done in quilting.</li>
<li>I also learned that for embroidery that has adjacent different colored sections, it&#8217;s NOT a good idea to cut the thread when the machine gives the option because as I learned at the very end, previous embroidery can become undone.</li>
<li>Pre-test the tension settings for the thread and fabric I plan to use.</li>
</ul>
<div id="attachment_2672" class="wp-caption alignnone" style="width: 822px"><a rel="attachment wp-att-2672" href="http://newtextiles.media.mit.edu/?attachment_id=2672"><img class="size-full wp-image-2672 " title="final" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/final.png" alt="" width="812" height="640" /></a><p class="wp-caption-text">Angle Fish</p></div>
<p><strong>Code</strong>:</p>
<p>int x=0;<br />
int y=0;<br />
int a=50;<br />
int b=0;<br />
int e=0;<br />
int f=50;</p>
<p>void setup()<br />
{<br />
size (500,500);<br />
translate(200,200);<br />
background(255);</p>
<p>for (int i=0;i&lt; 10;i++)<br />
{<br />
for (int j=0;j&lt; 10;j++)<br />
{</p>
<p>int colort = round(random(100+i*15));<br />
fill (colort, colort, colort*5);<br />
noStroke();</p>
<p>int sizet = 300/(40-i+1);</p>
<p>triangle (x+i*sizet,y+j*sizet,a+i*sizet,b+j*sizet,e+i*sizet,f+j*sizet);</p>
<p>}</p>
<p>}<br />
x=50;<br />
y=50;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://newtextiles.media.mit.edu/?feed=rss2&#038;p=2568</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Material Computations</title>
		<link>http://newtextiles.media.mit.edu/?p=2519</link>
		<comments>http://newtextiles.media.mit.edu/?p=2519#comments</comments>
		<pubDate>Tue, 26 Apr 2011 19:42:48 +0000</pubDate>
		<dc:creator>denamolnar</dc:creator>
				<category><![CDATA[Computational Design]]></category>

		<guid isPermaLink="false">http://newtextiles.media.mit.edu/?p=2519</guid>
		<description><![CDATA[I have always been interested in patterns that were capable of change. For my Computational Design Project, I chose to design a circular pattern that could deform in shape and size. Using Grasshopper, which is a plug-in for Rhino, I used pre-determined values and a code to generate a 3 dimensional cylinder that expands and [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-2520" href="http://newtextiles.media.mit.edu/?attachment_id=2520"><img class="aligncenter size-full wp-image-2520" title="laser" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/laser.jpg" alt="" width="348" height="341" /></a></p>
<p>I have always been interested in patterns that were capable of change. For my Computational Design Project, I chose to design a circular pattern that could deform in shape and size. Using Grasshopper, which is a plug-in for Rhino, I used pre-determined values and a code to generate a 3 dimensional cylinder that expands and contracts at its center. I then used the top views of the cylinder&#8217;s deformed surface to capture different radial shapes for laser cutting and embroidery design.</p>
<p>Grasshopper plug-in with Slider to adjust radial shapes</p>
<p><a rel="attachment wp-att-2539" href="http://newtextiles.media.mit.edu/?attachment_id=2539"><img class="aligncenter size-full wp-image-2539" title="grasshopper" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/grasshopper.jpg" alt="" width="667" height="408" /></a></p>
<p>Shapes generated by moving the slider</p>
<p><a rel="attachment wp-att-2540" href="http://newtextiles.media.mit.edu/?attachment_id=2540"><img class="aligncenter size-full wp-image-2540" title="screenshot" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/screenshot.jpg" alt="" width="926" height="430" /></a></p>
<p><a rel="attachment wp-att-2541" href="http://newtextiles.media.mit.edu/?attachment_id=2541"><img class="aligncenter size-full wp-image-2541" title="screenshot2" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/screenshot2.jpg" alt="" width="926" height="430" /></a></p>
<p>Below is an image of one of the shapes imported into Ilustrator as a 2 dimensional vector file for use on the laser cutter and embroidery machines. When I imported the file, many layers of lines were produced as a result of the 2d image being a projection of a 3d object. I had to delete any duplicate lines in order to prevent the laser cutter from over etching a single line, and to prevent the embroidery program from crashing. Over etching in areas did produce some nice results as well however. The darkest lines seen in the design below (creating a circle) were over etched and caused the center circle to fall away from the etched border. This allowed me to mix and match different patterned/colored circles for the center of the design.</p>
<p><a rel="attachment wp-att-2545" href="http://newtextiles.media.mit.edu/?attachment_id=2545"><img class="aligncenter size-full wp-image-2545" title="curveweaving" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/curveweaving.jpg" alt="" width="410" height="410" /></a></p>
<p>Once imported into the laser cutting program, I used felt as the base for the design to be etched onto.</p>
<p><a rel="attachment wp-att-2544" href="http://newtextiles.media.mit.edu/?attachment_id=2544"><img class="aligncenter size-full wp-image-2544" title="laserbed" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/laserbed.jpg" alt="" width="409" height="338" /></a></p>
<p>Various shapes were pieced together with a fabric adhesive</p>
<p><a rel="attachment wp-att-2546" href="http://newtextiles.media.mit.edu/?attachment_id=2546"><img class="aligncenter size-full wp-image-2546" title="adhesive" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/adhesive.jpg" alt="" width="438" height="337" /></a></p>
<p>Finished laser etched designs</p>
<p><a rel="attachment wp-att-2543" href="http://newtextiles.media.mit.edu/?attachment_id=2543"><img class="aligncenter size-full wp-image-2543" title="laser3" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/laser3.jpg" alt="" width="337" height="325" /></a><a rel="attachment wp-att-2542" href="http://newtextiles.media.mit.edu/?attachment_id=2542"></a></p>
<p><a rel="attachment wp-att-2542" href="http://newtextiles.media.mit.edu/?attachment_id=2542"><img class="aligncenter size-full wp-image-2542" title="laser2" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/laser2.jpg" alt="" width="326" height="309" /></a></p>
<p>Embroidery</p>
<p><a rel="attachment wp-att-2548" href="http://newtextiles.media.mit.edu/?attachment_id=2548"><img class="aligncenter size-full wp-image-2548" title="embroider" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/embroider.jpg" alt="" width="511" height="341" /></a></p>
<p>Finished embroidery</p>
<p><a rel="attachment wp-att-2549" href="http://newtextiles.media.mit.edu/?attachment_id=2549"><img class="aligncenter size-full wp-image-2549" title="embroider2" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/embroider2.jpg" alt="" width="511" height="341" /></a></p>
<p>Rhino/Grasshopper C# code</p>
<div id="_mcePaste">
<div id="_mcePaste">private void RunScript(OnCurve c1, OnCurve c2, On3dPoint pt, double dd, ref object A, ref object B)</div>
<div id="_mcePaste">{</div>
<div id="_mcePaste">int i = 0;</div>
<div id="_mcePaste">c1.SetDomain(0.0, 1.0);</div>
<div id="_mcePaste">c2.SetDomain(0.0, 1.0);</div>
<div id="_mcePaste">List&lt;OnLine&gt; l = new List&lt;OnLine&gt;();</div>
<div id="_mcePaste">List&lt;On3dPoint&gt; p1 = new List&lt;On3dPoint&gt;();</div>
<div id="_mcePaste">List&lt;On3dPoint&gt; p2 = new List&lt;On3dPoint&gt;();</div>
<div id="_mcePaste">int np = 100;</div>
<div id="_mcePaste">double dt = 1.0 / (np &#8211; 1.0);</div>
<div id="_mcePaste">for (i = 0; i &lt; np; i++) {</div>
<div id="_mcePaste">p1.Add(c1.PointAt(i * dt));</div>
<div id="_mcePaste">p2.Add(c2.PointAt(i * dt));</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">int i1 = 0;</div>
<div id="_mcePaste">int i2 = 0;</div>
<div id="_mcePaste">int rep = np;</div>
<div id="_mcePaste">i1 = 5;</div>
<div id="_mcePaste">i2 = 0;</div>
<div id="_mcePaste">int s1 = 1;</div>
<div id="_mcePaste">int s2 = 0;</div>
<div id="_mcePaste">rep = 2 * np;</div>
<div id="_mcePaste">for (i = 0; i &lt; rep; i++) {</div>
<div id="_mcePaste">if (i % 10 == 0) {</div>
<div id="_mcePaste">if (s1 == 0) {</div>
<div id="_mcePaste">s1 = 1;</div>
<div id="_mcePaste">s2 = 0;</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">else {</div>
<div id="_mcePaste">s1 = 0;</div>
<div id="_mcePaste">s2 = 1;</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">i1 += s1;</div>
<div id="_mcePaste">i2 += s2;</div>
<div id="_mcePaste">i1 %= np;</div>
<div id="_mcePaste">i2 %= np;</div>
<div id="_mcePaste">l.Add(new OnLine(p1[i1], p2[i2]));</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">OnMesh ms = new OnMesh();</div>
<div id="_mcePaste">for (i = 0; i &lt; l.Count &#8211; 1; i++) {</div>
<div id="_mcePaste">OnMesh m = new OnMesh(2, 6, false, false);</div>
<div id="_mcePaste">m.SetVertex(0, l[i].from);</div>
<div id="_mcePaste">m.SetVertex(1, l[i + 1].from);</div>
<div id="_mcePaste">On3dPoint mp1 = (l[i].from + l[i].to) * 0.5;</div>
<div id="_mcePaste">On3dPoint mp2 = (l[i + 1].from + l[i + 1].to) * 0.5;</div>
<div id="_mcePaste">On3dVector dp1 = mp1 &#8211; pt;</div>
<div id="_mcePaste">dp1.Unitize();</div>
<div id="_mcePaste">dp1 *= dd;</div>
<div id="_mcePaste">On3dVector dp2 = mp2 &#8211; pt;</div>
<div id="_mcePaste">dp2.Unitize();</div>
<div id="_mcePaste">dp2 *= dd;</div>
<div id="_mcePaste">if (i % 2 == 0){</div>
<div id="_mcePaste">m.SetVertex(2, mp1 + dp1);</div>
<div id="_mcePaste">m.SetVertex(3, mp2 &#8211; dp2);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">else {</div>
<div id="_mcePaste">m.SetVertex(2, mp1 &#8211; dp1);</div>
<div id="_mcePaste">m.SetVertex(3, mp2 + dp2);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">m.SetVertex(4, l[i].to);</div>
<div id="_mcePaste">m.SetVertex(5, l[i + 1].to);</div>
<div id="_mcePaste">m.SetQuad(0, 0, 1, 3, 2);</div>
<div id="_mcePaste">m.SetQuad(1, 2, 3, 5, 4);</div>
<div id="_mcePaste">ms.Append(m);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">A = l;</div>
<div id="_mcePaste">ms.ComputeVertexNormals();</div>
<div id="_mcePaste">B = ms;</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://newtextiles.media.mit.edu/?feed=rss2&#038;p=2519</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Judy’s study of 3D printed weaving structure</title>
		<link>http://newtextiles.media.mit.edu/?p=2612</link>
		<comments>http://newtextiles.media.mit.edu/?p=2612#comments</comments>
		<pubDate>Tue, 26 Apr 2011 16:02:11 +0000</pubDate>
		<dc:creator>greatjudy</dc:creator>
				<category><![CDATA[Computational Design]]></category>

		<guid isPermaLink="false">http://newtextiles.media.mit.edu/?p=2612</guid>
		<description><![CDATA[  For this computational textile assignment I want to try the 3D printing textile. It is a good experience of learning! It is my first time to do 3D printing, and I am a new hand in Grasshopper. So the work is challenging. I started from studying the basic structure of weaving, and then tried my [...]]]></description>
			<content:encoded><![CDATA[<p> <a rel="attachment wp-att-2644" href="http://newtextiles.media.mit.edu/?attachment_id=2644"><img class="aligncenter size-full wp-image-2644" title="IMG_9615" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/IMG_9615.jpg" alt="" width="945" height="709" /></a><a rel="attachment wp-att-2613" href="http://newtextiles.media.mit.edu/?attachment_id=2613"></a></p>
<p>For this computational textile assignment I want to try the 3D printing textile. It is a good experience of learning!</p>
<p>It is my first time to do 3D printing, and I am a new hand in Grasshopper. So the work is challenging. I started from studying the basic structure of weaving, and then tried my best to build it in Grasshopper in Rhino, and managed to make a structure similiar to the textile weaving. The basic method is to build U-V grids on both sides of a surface, connected the points by nurbs, flattened them and deleted some points by &#8220;cull&#8221;, and finally &#8220;pipe&#8221; the curves.</p>
<p><a rel="attachment wp-att-2637" href="http://newtextiles.media.mit.edu/?attachment_id=2637"><img class="aligncenter size-full wp-image-2637" title="render1" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/render1.jpg" alt="" width="315" height="209" /></a></p>
<p><a rel="attachment wp-att-2638" href="http://newtextiles.media.mit.edu/?attachment_id=2638"><img class="aligncenter size-full wp-image-2638" title="render2" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/render2.jpg" alt="" width="315" height="236" /></a><a rel="attachment wp-att-2627" href="http://newtextiles.media.mit.edu/?attachment_id=2627"></a></p>
<p><a rel="attachment wp-att-2628" href="http://newtextiles.media.mit.edu/?attachment_id=2628"><img class="aligncenter size-full wp-image-2628" title="capture2" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/capture2.jpg" alt="" width="315" height="182" /></a></p>
<p><a rel="attachment wp-att-2639" href="http://newtextiles.media.mit.edu/?attachment_id=2639"><img class="aligncenter size-full wp-image-2639" title="section" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/section.jpg" alt="" width="315" height="100" /></a></p>
<p>After spending long time on learning the software and building the model, I could not catch up the deadline to send the file to shapeways. So I went to the Edgerton Student Center for 3D printing. However, since I do not have enough 3D printing experience, I did not &#8220;cap&#8221; the ends of pipes and the model printing totally failed.</p>
<p><a rel="attachment wp-att-2636" href="http://newtextiles.media.mit.edu/?attachment_id=2636"><img class="aligncenter size-full wp-image-2636" title="IMG_9624" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/IMG_9624.jpg" alt="" width="567" height="425" /></a></p>
<p>Then I rebuilt the model and printed it again, which took an terrible long time of 24 hours&#8230;</p>
<p>Finally I got the model printed. However, the result is not ideal. Several parts are broken. Before going there, I did not know that there are many kinds of 3D printing and each has different characteristics. The 3D printer in Edgerton is based on FDM which is when the plastic gets squirted out in a bead. I did not realize it was too low resolution for my delicate model.</p>
<p><a rel="attachment wp-att-2635" href="http://newtextiles.media.mit.edu/?attachment_id=2635"><img class="aligncenter size-full wp-image-2635" title="IMG_9623" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/IMG_9623.jpg" alt="" width="567" height="425" /></a></p>
<p><a rel="attachment wp-att-2631" href="http://newtextiles.media.mit.edu/?attachment_id=2631"><img class="aligncenter size-full wp-image-2631" title="IMG_9617" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/IMG_9617.jpg" alt="" width="567" height="425" /></a></p>
<p><a rel="attachment wp-att-2633" href="http://newtextiles.media.mit.edu/?attachment_id=2633"><img class="aligncenter size-full wp-image-2633" title="IMG_9620" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/IMG_9620.jpg" alt="" width="567" height="425" /></a></p>
<p><a rel="attachment wp-att-2634" href="http://newtextiles.media.mit.edu/?attachment_id=2634"><img class="aligncenter size-full wp-image-2634" title="IMG_9622" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/IMG_9622.jpg" alt="" width="567" height="425" /></a><a rel="attachment wp-att-2632" href="http://newtextiles.media.mit.edu/?attachment_id=2632"><img class="aligncenter size-full wp-image-2632" title="IMG_9619" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/IMG_9619.jpg" alt="" width="567" height="425" /></a></p>
<p><a rel="attachment wp-att-2630" href="http://newtextiles.media.mit.edu/?attachment_id=2630"><img class="aligncenter size-full wp-image-2630" title="IMG_9616" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/IMG_9616.jpg" alt="" width="567" height="333" /></a><a rel="attachment wp-att-2629" href="http://newtextiles.media.mit.edu/?attachment_id=2629"><img class="aligncenter size-full wp-image-2629" title="IMG_9614" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/IMG_9614.jpg" alt="" width="567" height="425" /></a></p>
<p>It is a very interesting process of learning! I want to thank Ilan Moyer, who is an expert in mechanical techniques and helped me a lot with the 3D printing!!</p>
]]></content:encoded>
			<wfw:commentRss>http://newtextiles.media.mit.edu/?feed=rss2&#038;p=2612</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Textured Bubbles</title>
		<link>http://newtextiles.media.mit.edu/?p=2595</link>
		<comments>http://newtextiles.media.mit.edu/?p=2595#comments</comments>
		<pubDate>Tue, 26 Apr 2011 15:05:24 +0000</pubDate>
		<dc:creator>N.Tari</dc:creator>
				<category><![CDATA[Computational Design]]></category>

		<guid isPermaLink="false">http://newtextiles.media.mit.edu/?p=2595</guid>
		<description><![CDATA[The pattern that I used to generate this code was a old data set that I modified to allow the results I wanted. The data set is a text file that is read by processing though the help of tabs. I acquired the data from a questioner I sent out to friends. Each anwser corresponded [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-2605" href="http://newtextiles.media.mit.edu/?attachment_id=2605"><img class="aligncenter size-full wp-image-2605" title="FINAL" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/FINAL.jpg" alt="" width="478" height="640" /></a></p>
<p>The pattern that I used to generate this code was a old data set that I modified to allow the results I wanted. The data set is a text file that is read by processing though the help of tabs. I acquired the data from a questioner I sent out to friends.<span id="more-2595"></span> Each anwser corresponded to a letter and the letter a value. After I visualized the file with processing I played around with he data to make the visual out put more desirable. When I was satisfied with the results I clicked on the window and close it to save a PDF of the pattern.</p>
<p>After creating the PDF I knew I wanted to use the knitting machine to realize the pattern as fabric. Once bringing the file into the embroidery software, I wanted to use texture  and stitch pattern to create different topographies. The first time I embroidered the patter I used black thread for both the top and bottom threads. It was very simple to use the machine and i did not encounter manny problems. After on pattern was completed I decided that I would like to add to it by embroidering a second pattern. This time I wanted to change the color of the thread. I left the bobbin thread black and changed the top thread to blue. This created a nice affect allowing the textures to become more visible.</p>
<p>The second pattern caused me more problems but allowed me to lear a lot about the machine though the encounters. First the bobbin was not wound correctly causing the a massive tangle. I had to stop the machine and rewind the bobbin (with Hanna&#8217;s help). Next the paper separated from the fabric and I need to iron a new piece on. Lining up the first pattern with the begging of the second was also a challenge. The next issue I encountered was the embroidery attachment, though the vibrations and maybe the prqsserfoot hitting the hoop, knocked itself off where it sits and though the pattern of. I had to pause the machine and move it back to where it belonged. I am guessing this occurred because the scaling of the pattern was a tiny bit off allowing it to be slightly bigger than what actually fits in the hoop with the presser foot inside at all times.</p>
<p>In all, I found this process very enjoyable and exciting to see the translation from screen to tactile fabric. Though the issues I encountered I learned a great deal about the machine and could now used it for more complex things.</p>
<p>See a video of the machine working on my pattern <strong><a onclick="window.open('http://ntaridesignsem2.tumblr.com/private/4957142957/tumblr_lk9lnuENdr1qgw9em','','');return false;" href="http://ntaridesignsem2.tumblr.com/private/4957142957/tumblr_lk9lnuENdr1qgw9em">HERE:</a></strong></p>

<a href='http://newtextiles.media.mit.edu/?attachment_id=2605' title='FINAL'><img width="112" height="150" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/FINAL.jpg" class="attachment-thumbnail" alt="FINAL" title="FINAL" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2598' title='SetUp'><img width="112" height="150" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/SetUp.jpg" class="attachment-thumbnail" alt="SetUp" title="SetUp" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2597' title='Pattern1'><img width="112" height="150" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/Pattern1.jpg" class="attachment-thumbnail" alt="Pattern1" title="Pattern1" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2599' title='Embrodering'><img width="112" height="150" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/Embrodering.jpg" class="attachment-thumbnail" alt="Embrodering" title="Embrodering" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2600' title='Embrodering_1'><img width="112" height="150" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/Embrodering_1.jpg" class="attachment-thumbnail" alt="Embrodering_1" title="Embrodering_1" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2601' title='FinishedEmbroderning'><img width="112" height="150" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/FinishedEmbroderning.jpg" class="attachment-thumbnail" alt="FinishedEmbroderning" title="FinishedEmbroderning" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2596' title='FinalPatterns'><img width="150" height="112" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/FinalPatterns.jpg" class="attachment-thumbnail" alt="FinalPatterns" title="FinalPatterns" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2602' title='back'><img width="150" height="112" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/back.jpg" class="attachment-thumbnail" alt="back" title="back" /></a>

]]></content:encoded>
			<wfw:commentRss>http://newtextiles.media.mit.edu/?feed=rss2&#038;p=2595</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mirrored Curves</title>
		<link>http://newtextiles.media.mit.edu/?p=2569</link>
		<comments>http://newtextiles.media.mit.edu/?p=2569#comments</comments>
		<pubDate>Tue, 26 Apr 2011 14:02:32 +0000</pubDate>
		<dc:creator>heidiqc</dc:creator>
				<category><![CDATA[Computational Design]]></category>

		<guid isPermaLink="false">http://newtextiles.media.mit.edu/?p=2569</guid>
		<description><![CDATA[Inspired by the rotational artwork that I used to do when I was a kid, I wanted to create curves that could be rotated about a center point to form a piece of unique art. I experimented with the various types of curves and random functions in processing until I came up with a set [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-2577" title="Final embroidered designs" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/DSCF3172.jpg" alt="" width="800" height="600" /></p>
<p style="text-align: center;">
<p style="text-align: left;">Inspired by the rotational artwork that I used to do when I was a kid, I wanted to create curves that could be rotated about a center point to form a piece of unique art.</p>
<p><span id="more-2569"></span></p>
<p style="text-align: left;">
<p style="text-align: left;">I experimented with the various types of curves and random functions in processing until I came up with a set of randomly generated curves that looked satisfactory. The next challenge was to make the curves link up and form interesting arcs that did not repeat. Finally, I wrote some mathematical functions that would create a set of 4 curves rotated equally around the center axis. I wanted the user to have some input into the generation of the pattern, so I included the keyboard as a form of user interface so that the user could control when each new set of curves was generated, and change the color of the curves when desired to have a pattern with multiple colors.</p>

<a href='http://newtextiles.media.mit.edu/?attachment_id=2591' title='embroidery1'><img width="150" height="150" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/embroidery1.jpg" class="attachment-thumbnail" alt="embroidery1" title="embroidery1" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2590' title='embroidery2'><img width="150" height="144" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/embroidery2.jpg" class="attachment-thumbnail" alt="embroidery2" title="embroidery2" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2589' title='embroidery3'><img width="150" height="132" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/embroidery3.jpg" class="attachment-thumbnail" alt="embroidery3" title="embroidery3" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2570' title='Ironing on the embroidery backing'><img width="112" height="150" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/DSCF3154.jpg" class="attachment-thumbnail" alt="Ironing on the embroidery backing" title="Ironing on the embroidery backing" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2571' title='Putting the fabric into the embroidery hoop'><img width="112" height="150" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/DSCF3157.jpg" class="attachment-thumbnail" alt="Putting the fabric into the embroidery hoop" title="Putting the fabric into the embroidery hoop" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2572' title='Embroidery machine at work'><img width="150" height="112" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/DSCF3158.jpg" class="attachment-thumbnail" alt="Embroidery machine at work" title="Embroidery machine at work" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2573' title='Embroidering the pattern'><img width="150" height="112" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/DSCF3161.jpg" class="attachment-thumbnail" alt="Embroidering the pattern" title="Embroidering the pattern" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2574' title='Second color'><img width="112" height="150" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/DSCF3164.jpg" class="attachment-thumbnail" alt="Second color" title="Second color" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2575' title='Finished design on hoop'><img width="150" height="112" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/DSCF3168.jpg" class="attachment-thumbnail" alt="Finished design on hoop" title="Finished design on hoop" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2578' title='Back of design 1'><img width="150" height="112" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/DSCF3173.jpg" class="attachment-thumbnail" alt="Back of design 1" title="Back of design 1" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2576' title='Final designs side by side'><img width="150" height="112" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/DSCF3171.jpg" class="attachment-thumbnail" alt="Final designs side by side" title="Final designs side by side" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2577' title='Final embroidered designs'><img width="150" height="112" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/DSCF3172.jpg" class="attachment-thumbnail" alt="Final embroidered designs" title="Final embroidered designs" /></a>

<p style="text-align: left;">
<p style="text-align: left;">Subsequently, embroidering was relatively straightforward. I didn&#8217;t run into trouble translating my pattern into the format that the embroidery machine required, although I didn&#8217;t attach the embroidery arm of the machine properly the first time, which caused the red and black pattern to shift out of place. The second time around, I experimented with a thicker stitch, but got stuck at the machine for an hour troubleshooting when it would start and seemingly stop randomly, telling me that the thread was broken when it was not. After rethreading the top thread and checking the bobbin at least 7 times while toggling with the tension, it magically finished the pattern. (yes!) I suspect the tension was the culprit, combined with the thicker stitches layering on top of each other to form a thick wad of thread. I am pretty satisfied with the designs, and I intend to make them into mats for holding hot pots eventually.</p>
<p style="text-align: left;"><object width="500" height="400"><param name="movie" value="http://www.youtube.com/v/U1k6_SQmXDU?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/U1k6_SQmXDU?version=3" type="application/x-shockwave-flash" width="500" height="400" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p style="text-align: left;">
<p style="text-align: left;"><strong>Processing Code:</strong></p>
<p style="text-align: left;">
<div id="_mcePaste">// import library to create pdfs</div>
<div id="_mcePaste">import processing.pdf.*;</div>
<div id="_mcePaste">// initialize variables</div>
<div id="_mcePaste">int x1= 200;</div>
<div id="_mcePaste">int y1= 200;</div>
<div id="_mcePaste">int x2= int(random(100,300));</div>
<div id="_mcePaste">int y2= int(random(100,300));</div>
<div id="_mcePaste">// size of screen</div>
<div id="_mcePaste">int c = 400;</div>
<div id="_mcePaste">// setup</div>
<div id="_mcePaste">void setup(){</div>
<div id="_mcePaste">size(c,c);</div>
<div id="_mcePaste">background(238,232,170);</div>
<div id="_mcePaste">smooth();</div>
<div id="_mcePaste">beginRecord(PDF, &#8220;embroidery.pdf&#8221;);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">void draw() {}</div>
<div id="_mcePaste">void keyPressed() {</div>
<div id="_mcePaste">// when q is pressed, save and quit</div>
<div id="_mcePaste">if (key== &#8216;q&#8217;) {</div>
<div id="_mcePaste">endRecord();</div>
<div id="_mcePaste">exit();</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">// if right or left is pressed, change color</div>
<div id="_mcePaste">else if(key== CODED) {</div>
<div id="_mcePaste">if (keyCode == RIGHT) {</div>
<div id="_mcePaste">stroke(205, 92, 92); // pink</div>
<div id="_mcePaste">} else if (keyCode == LEFT) {</div>
<div id="_mcePaste">stroke(0); // black</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">// generate 4 random numbers in space</div>
<div id="_mcePaste">int x3= int(random(0,c));</div>
<div id="_mcePaste">int y3= int(random(0,c));</div>
<div id="_mcePaste">int x4= int(random(0,c));</div>
<div id="_mcePaste">int y4= int(random(0,c));</div>
<div id="_mcePaste">// draw curve</div>
<div id="_mcePaste">noFill();</div>
<div id="_mcePaste">strokeWeight(3);</div>
<div id="_mcePaste">bezier(x1, y1, x2, y2, x3, y3, x4, y4);</div>
<div id="_mcePaste">// 2 repetitions</div>
<div id="_mcePaste">bezier(c-x1, c-y1, c-x2, c-y2, c-x3, c-y3, c-x4, c-y4);</div>
<div id="_mcePaste">// 4 repetitions</div>
<div id="_mcePaste">bezier(c-x1, y1, c-x2, y2, c-x3, y3, c-x4, y4);</div>
<div id="_mcePaste">bezier(x1, c-y1, x2, c-y2, x3, c-y3, x4, c-y4);</div>
<div id="_mcePaste">// make sure end of curve lines up</div>
<div id="_mcePaste">x1= x4;</div>
<div id="_mcePaste">y1= y4;</div>
<div id="_mcePaste">x2= x3;</div>
<div id="_mcePaste">y2= y3;</div>
<div id="_mcePaste">}</div>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://newtextiles.media.mit.edu/?feed=rss2&#038;p=2569</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drawer full of Random Buttons</title>
		<link>http://newtextiles.media.mit.edu/?p=2470</link>
		<comments>http://newtextiles.media.mit.edu/?p=2470#comments</comments>
		<pubDate>Mon, 25 Apr 2011 13:43:59 +0000</pubDate>
		<dc:creator>Sheralyn Woon</dc:creator>
				<category><![CDATA[Computational Design]]></category>

		<guid isPermaLink="false">http://newtextiles.media.mit.edu/?p=2470</guid>
		<description><![CDATA[I focused on the motif of a button because firstly I thought it was a simple object to work with and secondly I wanted it to appear as if one was continuously pulling open a drawer with loads of buttons shifting about inside. In the first version of the program, I had problems representing this [...]]]></description>
			<content:encoded><![CDATA[
<a href='http://newtextiles.media.mit.edu/?attachment_id=2471' title='MIT_comp1'><img width="150" height="112" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/MIT_comp1.jpg" class="attachment-thumbnail" alt="MIT_comp1" title="MIT_comp1" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2472' title='MIT_Comp1back'><img width="150" height="120" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/MIT_Comp1back.jpg" class="attachment-thumbnail" alt="MIT_Comp1back" title="MIT_Comp1back" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2473' title='MIT_Comp1front'><img width="150" height="120" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/MIT_Comp1front.jpg" class="attachment-thumbnail" alt="MIT_Comp1front" title="MIT_Comp1front" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2474' title='MIT_Comp2'><img width="150" height="142" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/MIT_Comp2.jpg" class="attachment-thumbnail" alt="MIT_Comp2" title="MIT_Comp2" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2475' title='MIT_Comp2back'><img width="150" height="100" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/MIT_Comp2back.jpg" class="attachment-thumbnail" alt="MIT_Comp2back" title="MIT_Comp2back" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2476' title='MIT_Comp2front'><img width="150" height="100" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/MIT_Comp2front.jpg" class="attachment-thumbnail" alt="MIT_Comp2front" title="MIT_Comp2front" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2494' title='MITcomp2c'><img width="150" height="100" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/MITcomp2c.jpg" class="attachment-thumbnail" alt="Final image chosen" title="MITcomp2c" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2508' title='MITcomp3a'><img width="150" height="100" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/MITcomp3a.jpg" class="attachment-thumbnail" alt="MITcomp3a" title="MITcomp3a" /></a>
<a href='http://newtextiles.media.mit.edu/?attachment_id=2509' title='MIT_Comp2front_sewn2x'><img width="150" height="112" src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/04/MIT_Comp2front_sewn2x.jpg" class="attachment-thumbnail" alt="MIT_Comp2front_sewn2x" title="MIT_Comp2front_sewn2x" /></a>

<p><strong>I focused on the motif of a button because firstly I thought it was a simple object to work with and secondly I wanted it to appear as if one was continuously pulling open a drawer with loads of buttons shifting about inside. In the first version of the program, I had problems representing this shifting motion. The buttons were actually stuck in place because I couldn&#8217;t figure out how to make the small button holes follow the big button. This is also why the rest of the smaller circles moving randomly have no button holes.<br />
</strong></p>
<p><strong>After some intensive coaching from Leah, the next few &#8220;improved&#8221; versions actually had buttons moving about. Playing about with sizes and numbers of buttons, I had a variety of densities to choose from. The final one I used has some density but does not seem overwhelmingly crowded (pictured above). I waited for the right composition and just clicked the mouse to save the image as a Tiff file. </strong></p>
<p><strong>Using the DRAWings program, I turned the tiff file into an embroidery file. I played around with the density of stitches and way the program translated the Tiff file into vector. I found that the accuracy could be adjusted for different effects. In my first piece because the accuracy wasn&#8217;t set high and the stitch density is too high, the distinct look of the buttons has </strong><strong>changed. It looks more like a diagram in a biology book about cells and amoebas. The second piece with a lower stitch density and higher accuracy, the original look of the buttons is retained.<br />
</strong></p>
<p><strong>The sewing machine was generally ok to me. I found it very engaging to play with alternating the thread colors and getting the machine to sew over bits that had already been done to blend colors or create more texture and depth. I also tried both cotton and felt as an embroidery </strong><strong>backing. I prefer the look of the felt because it is more robust and doesn&#8217;t pucker as much. The back and the front of my designs are of different colors because I changed the color of the thread on the bobbins to experiment with different color schemes.</strong><strong> </strong></p>
<p><strong>I really appreciated having more time to work on this assignment, in  spite of spending most of that time staring at the Programming screen  wondering what I could change or rectify. Without the time I don&#8217;t think I would have been able to be really make the movement of the buttons seem random.<br />
</strong></p>
<p><strong>This is the video of the random patterns made:</strong><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/SMsQhXnsQ9s?hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/SMsQhXnsQ9s?hl=en&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><strong>The code for the final pattern is:</strong></p>
<p>void setup() {<br />
size(600,400);<br />
frameRate(1);<br />
}</p>
<p>void draw() {<br />
background(0);<br />
color c1 = color (255, 0, 200);<br />
drawButton1 (50, random(width),random(height), c1);</p>
<p>int x=0;<br />
while (x&lt;8)<br />
{<br />
drawButton1 (int(random(80, 120)), random(width),random(height), c1);<br />
x=x+1;<br />
}</p>
<p>color d1 = color(50,0, 255);</p>
<p>int y=0;<br />
while (y&lt;30)<br />
{<br />
drawButton2 (int(random(40, 75)), random(width),random(height), d1);<br />
y=y+1;<br />
}</p>
<p>}</p>
<p>void drawButton1 (int sizeOfCircle, float centerX, float centerY, color c)<br />
{<br />
int bigCircleDelta= sizeOfCircle/2;<br />
int buttonDelta = 5;<br />
int sizeOfButton = 3;<br />
fill(c);<br />
ellipse ( (centerX), (centerY), sizeOfCircle, sizeOfCircle);<br />
fill (0);<br />
ellipse ( (centerX-buttonDelta), (centerY+buttonDelta), sizeOfButton, sizeOfButton);<br />
ellipse ( (centerX+buttonDelta), (centerY+buttonDelta), sizeOfButton, sizeOfButton);<br />
ellipse ( (centerX-buttonDelta), (centerY-buttonDelta), sizeOfButton, sizeOfButton);<br />
ellipse ( (centerX+buttonDelta), (centerY-buttonDelta), sizeOfButton, sizeOfButton);<br />
}</p>
<p>void drawButton2 (int sizeOfCircle, float centerX, float centerY, color d)<br />
{<br />
int bigCircleDelta= sizeOfCircle/2;<br />
int buttonDelta = 3;<br />
int sizeOfButton = 1;<br />
fill(d);<br />
ellipse ( (centerX), (centerY), sizeOfCircle, sizeOfCircle);<br />
fill (0);<br />
ellipse ( (centerX-buttonDelta), (centerY+buttonDelta), sizeOfButton, sizeOfButton);<br />
ellipse ( (centerX+buttonDelta), (centerY+buttonDelta), sizeOfButton, sizeOfButton);<br />
ellipse ( (centerX-buttonDelta), (centerY-buttonDelta), sizeOfButton, sizeOfButton);<br />
ellipse ( (centerX+buttonDelta), (centerY-buttonDelta), sizeOfButton, sizeOfButton);<br />
}</p>
<p>void mousePressed()<br />
{<br />
save(&#8220;line.tif&#8221;);<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://newtextiles.media.mit.edu/?feed=rss2&#038;p=2470</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Albert&#8217;s Raise Your Glass Computational Embroidery</title>
		<link>http://newtextiles.media.mit.edu/?p=2457</link>
		<comments>http://newtextiles.media.mit.edu/?p=2457#comments</comments>
		<pubDate>Mon, 25 Apr 2011 01:54:33 +0000</pubDate>
		<dc:creator>mrching</dc:creator>
				<category><![CDATA[Computational Design]]></category>

		<guid isPermaLink="false">http://newtextiles.media.mit.edu/?p=2457</guid>
		<description><![CDATA[How do you embed a song into clothing? With a combination of tactile textile sensing and computational embroidery, there is now a way.  Building off of the images that I created from tapping my fingers to &#8220;Raise Your Glass&#8221; by the Glee Warblers, I decided to translate those images into an actual textile using computational [...]]]></description>
			<content:encoded><![CDATA[<p>How do you embed a song into clothing?</p>
<p>With a combination of tactile textile sensing and computational embroidery, there is now a way.  Building off of the images that <a href="http://newtextiles.media.mit.edu/?p=2063">I created from tapping my fingers to &#8220;Raise Your Glass&#8221; by the Glee Warblers</a>, I decided to translate those images into an actual textile using computational embroidery.  The process was certainly not as easy as I hoped (I used the embroidery machine on 4 separate occasions and unfortunately broke the machine once!) &#8212; but it was rewarding once I got closer to translating my tactile design into something that was woven into a jacket that I am planning to wear.</p>
<div class="wp-caption alignnone" style="width: 394px"><img src="https://lh4.googleusercontent.com/_Y9p6N00ThMQ/TbTTAihZFPI/AAAAAAABIQ8/eCiVrIFjGGI/s512/IMG_20110419_141142.jpg" alt="" width="384" height="512" /><p class="wp-caption-text">Embroidery Process</p></div>
<p><span id="more-2457"></span></p>
<div class="wp-caption alignnone" style="width: 730px"><img src="https://lh6.googleusercontent.com/_Y9p6N00ThMQ/TbTReHkB23I/AAAAAAABIQQ/4H8MNnW5ix8/s720/Screen%20shot%202011-04-12%20at%2012.26.52%20AM.jpg" alt="" width="720" height="475" /><p class="wp-caption-text">Original Tactile Design in Processing - Created by Finger Tapping to Raise Your Glass</p></div>
<div class="wp-caption alignnone" style="width: 730px"><img src="https://lh3.googleusercontent.com/_Y9p6N00ThMQ/TbTRfU-1_SI/AAAAAAABIQY/zh6QVY7cdsg/s720/IMG_9808.JPG" alt="" width="720" height="480" /><p class="wp-caption-text">My First Embroidery Try</p></div>
<div class="wp-caption alignnone" style="width: 730px"><img src="https://lh5.googleusercontent.com/_Y9p6N00ThMQ/TbTRfw7RtHI/AAAAAAABIQg/fWPSxpjYhyc/s720/IMG_9806.JPG" alt="" width="720" height="480" /><p class="wp-caption-text">Embroidering on an Old Gray Shirt - The Embroidery Machine Ate My Shirt</p></div>
<p><a href="http://www.youtube.com/watch?v=Ig_jzvXPJSg">Video of Computational Embroidery Process</a></p>
<div class="wp-caption alignnone" style="width: 730px"><img src="https://lh3.googleusercontent.com/_Y9p6N00ThMQ/TbTRgR5ZZ9I/AAAAAAABIQo/5R4D3nHBPlQ/s720/IMG_9809.JPG" alt="" width="720" height="480" /><p class="wp-caption-text">Raise Your Glass on Blue Sweater</p></div>
<div class="wp-caption alignnone" style="width: 351px"><img src="https://lh5.googleusercontent.com/_Y9p6N00ThMQ/TbTRg-GtQNI/AAAAAAABIQw/fIrGt_AU0kM/s512/IMG_9814.JPG" alt="" width="341" height="512" /><p class="wp-caption-text">Modeling the Bedazzled Blue Sweater</p></div>
]]></content:encoded>
			<wfw:commentRss>http://newtextiles.media.mit.edu/?feed=rss2&#038;p=2457</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Computational Design</title>
		<link>http://newtextiles.media.mit.edu/?p=2072</link>
		<comments>http://newtextiles.media.mit.edu/?p=2072#comments</comments>
		<pubDate>Tue, 29 Mar 2011 12:50:55 +0000</pubDate>
		<dc:creator>leah buechley</dc:creator>
				<category><![CDATA[Assignments]]></category>
		<category><![CDATA[Computational Design]]></category>

		<guid isPermaLink="false">http://newtextiles.media.mit.edu/?p=2072</guid>
		<description><![CDATA[Due: Tuesday, April 26, 2011 See student designs here For this assignment you will create a computationally generated textile pattern. You&#8217;ll write a program that generates a pattern and use the embroidery machine, laser cutter, knitting machine (or another CNC device, ie: a CNC loom or a 3D printer) to automatically produce the pattern. Create [...]]]></description>
			<content:encoded><![CDATA[<p>Due: Tuesday, April 26, 2011<br />
<a href="http://newtextiles.media.mit.edu/?cat=19">See student designs here</a></p>
<p>For this assignment you will create a computationally generated textile pattern.  You&#8217;ll write a program that generates a pattern and use the embroidery machine, laser cutter, knitting machine (or another CNC device, ie: a CNC loom or a 3D printer) to automatically produce the pattern.<br />
<span id="more-2072"></span></p>
<p>Create a post that documents your project and add it to the Computational Design category. Your page should include pictures of your finished textile, the code you wrote to generate the pattern, a few photographs of the construction process, and a paragraph about your experience.</p>
<p>Something to think about&#8230;You have three weeks to finish this assignment.  This would give you time to order fabric from a service like <a href=http://www.spoonflower.com/welcome>Spoonflower</a> (custom fabric prints) or <a href="http://www.shapeways.com/model/152170/">Shapeways</a> (3D printed fabrics).  A 3D printed fabric:</p>
<p><a href="http://www.shapeways.com/model/152148/"><img src="http://newtextiles.media.mit.edu/wp-content/uploads/2011/03/photo_23377_shapeways.jpg" alt="" title="photo_23377_shapeways" width="400" class="aligncenter size-full wp-image-2080" /></a></p>
<p>Tutorials, including sample code are available in the Machine Tutorial category of the <a href="http://hlt.media.mit.edu/wiki/">HLT wiki</a>.</p>
<p>Bring your projects to class on April 19 for demonstrations.</p>
]]></content:encoded>
			<wfw:commentRss>http://newtextiles.media.mit.edu/?feed=rss2&#038;p=2072</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
