<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Help me modify this code</title>
	<link>http://ask.metafilter.com/13541/Help-me-modify-this-code/</link>
	<description>Comments on Ask MetaFilter post Help me modify this code</description>
	<pubDate>Sun, 02 Jan 2005 09:43:37 -0800</pubDate>
	<lastBuildDate>Sun, 02 Jan 2005 09:43:37 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Help me modify this code</title>
		<link>http://ask.metafilter.com/13541/Help-me-modify-this-code</link>	
		<description>&lt;a href=&quot;http://www.metafilter.com/mefi/38247&quot;&gt;Jared Tarbell&lt;/a&gt; generously offers the source code to &lt;a href=&quot;http://www.complexification.net/&quot;&gt;Binary  Ring&lt;/a&gt; (click on &quot;Thumbnail gallery&quot; &#8211; &quot;Binary Ring&quot; &#8211; &quot;Launch applet&quot;).  I&apos;d like to modify this code to make larger images of the same type but I&apos;m not getting anywhere.  How do I do this? I&apos;m a &lt;strike&gt;beginner&lt;/strike&gt; idiot.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2005:site.13541</guid>
		<pubDate>Sun, 02 Jan 2005 09:22:33 -0800</pubDate>
		<dc:creator>Termite</dc:creator>
		
			<category>tarbell</category>
		
			<category>galleryofcomputation</category>
		
			<category>generativeart</category>
		
			<category>art</category>
		
			<category>source</category>
		
			<category>sourcecode</category>
		
			<category>mit</category>
		
			<category>processing</category>
		
			<category>programming</category>
		
	</item> <item>
		<title>By: Ryvar</title>
		<link>http://ask.metafilter.com/13541/Help-me-modify-this-code#234351</link>	
		<description>Just glancing at it offhand, two parts seem relevant:&lt;br&gt;
&lt;blockquote&gt;// dim is dimensions of rendering window&lt;br&gt;
int dim = 500;&lt;/blockquote&gt;and&lt;blockquote&gt;// ENVIRONMENTAL METHODS ----------------------------------------------&lt;br&gt;
&lt;br&gt;
void setup() {&lt;br&gt;
  size(500,500);&lt;br&gt;
//  size(dim,dim);&lt;/blockquote&gt;If you wanted to it to render to a window 1000x1000, change the following:&lt;br&gt;
&lt;br&gt;
&quot;int dim = 500;&quot; to &quot;int dim = 1000;&quot;&lt;br&gt;
&lt;br&gt;
and&lt;br&gt;
&lt;br&gt;
&quot;size(500,500);&quot; to &quot;size(1000,1000);&quot;&lt;br&gt;
&lt;br&gt;
I&apos;d like to test whether this works for you, but the code appears to be written for an as-yet-unreleased programming language called Processing, which somewhat hampers my ability to 100% verify that I&apos;m correct ;)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.13541-234351</guid>
		<pubDate>Sun, 02 Jan 2005 09:43:37 -0800</pubDate>
		<dc:creator>Ryvar</dc:creator>
	</item><item>
		<title>By: Termite</title>
		<link>http://ask.metafilter.com/13541/Help-me-modify-this-code#234354</link>	
		<description>Ryvar wrote:&lt;br&gt;
&lt;br&gt;
&lt;em&gt;If you wanted to it to render to a window 1000x1000, change the following:&lt;br&gt;
&quot;int dim = 500;&quot; to &quot;int dim = 1000;&quot;&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
That&apos;s about the only thing I&apos;m able to understand. But how do I run this script? I&apos;ve tried putting it on a basic HTML page between [script] tags and it doesn&apos;t work. I get a gray square (Java script not working) or a completely blank page. I also tried to save the script and linking to it the way Tarbell does, but I must be doing something wrong since it doesn&apos;t work.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.13541-234354</guid>
		<pubDate>Sun, 02 Jan 2005 10:00:50 -0800</pubDate>
		<dc:creator>Termite</dc:creator>
	</item><item>
		<title>By: Ryvar</title>
		<link>http://ask.metafilter.com/13541/Help-me-modify-this-code#234362</link>	
		<description>OK, I&apos;m not sure about how to get installing working webside, but if you&apos;re strictly interested in playing with it clientside, I can help you (just got it working, and my changes are correct).&lt;br&gt;
&lt;br&gt;
First off, download the latest copy of Processing by going &lt;a href=&quot;http://processing.org/download/index.html&quot;&gt;here&lt;/a&gt;, punching in your email address and they will mail you a link to the latest few alpha builds of Processing - I used 0.68 and it worked fine.&lt;br&gt;
&lt;br&gt;
You will need Quicktime for Java installed, which was a gigantic pain in the ass for me because a) I&apos;m smart enough to use QuicktimeAlternative rather than put up with QT&apos;s TSR bullshit and b) there&apos;s no &apos;custom&apos; install option any longer in the official QT installer ever since Apple merged the iTunes and QT installer.  I now have iTunes on my machine and feel slightly dirty.&lt;br&gt;
&lt;br&gt;
Eventually I found a third-party source for QTJava.zip (&lt;a href=&quot;http://www.hachette-multimedia.fr/assistance/download.php?op=mydown&amp;did=1&quot;&gt;here&lt;/a&gt; although for all I know it could be FILLED with viruses and such so grab it at your own risk - fortunately I&apos;m reformatting this box tomorrow) and dropped it in both &quot;c:\windows\system32\&quot; and &quot;C:\Program Files\Java\j2re1.4.2_05\lib\ext&quot;.  After all that, I was able to run processing.exe, paste in the source code provided for Binary Ring and make my own modifications to the dim variable and the size function call within the setup function as specified above.&lt;br&gt;
&lt;br&gt;
Voila! Works.  Again, huge pain in the ass, but you can set it to render at what any size you want - please note that the dim variable is used in a bunch of the equations governing the creation/path of the particles and thus in all liklihood non-square window sizes will not work properly.  Enjoy.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.13541-234362</guid>
		<pubDate>Sun, 02 Jan 2005 10:17:28 -0800</pubDate>
		<dc:creator>Ryvar</dc:creator>
	</item><item>
		<title>By: Termite</title>
		<link>http://ask.metafilter.com/13541/Help-me-modify-this-code#234365</link>	
		<description>Thanks for your work!  I&apos;m going to try this...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.13541-234365</guid>
		<pubDate>Sun, 02 Jan 2005 10:37:12 -0800</pubDate>
		<dc:creator>Termite</dc:creator>
	</item>
	</channel>
</rss>
