<?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>Code &#038; form &#187; Processing / Java</title>
	<atom:link href="http://workshop.evolutionzone.com/category/processing/feed/" rel="self" type="application/rss+xml" />
	<link>http://workshop.evolutionzone.com</link>
	<description>Computational aesthetics and programming for artists and designers.</description>
	<lastBuildDate>Mon, 26 Oct 2009 08:09:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Jer Thorp&#8217;s 7 Days of Code</title>
		<link>http://workshop.evolutionzone.com/2009/10/14/jer-thorps-7-days-of-code/</link>
		<comments>http://workshop.evolutionzone.com/2009/10/14/jer-thorps-7-days-of-code/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 21:27:22 +0000</pubDate>
		<dc:creator>marius watz</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Processing / Java]]></category>
		<category><![CDATA[geocoding]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[Jer Thorp]]></category>
		<category><![CDATA[L-system]]></category>
		<category><![CDATA[NY Times]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://workshop.evolutionzone.com/?p=298</guid>
		<description><![CDATA[
Jer Thorp: NY Times: 365/360
Processing visualization head Jer Thorp is putting his money where his mouth and publishing 7 pieces of code in 7 days, free to download and experiment with. Judging from the three that he&#8217;s released so far they&#8217;re not your standard 20-minute sketches either:

GoodMorning! is a Twitter vizualization, showing users around the [...]]]></description>
			<content:encoded><![CDATA[<div class="flickrImg"><a href="http://blog.blprnt.com/blog/blprnt/7-days-of-source-day-2-nytimes-36536"><img src="http://workshop.evolutionzone.com/wp-content/uploads/2009/10/zyqpe7lw.jpg" border="0" alt="Jer Thorp: NY Times visualization" title="Jer Thorp: NY Times visualization" width="500" height="220" class="size-full wp-image-301" /></a></p>
<p>Jer Thorp: <a href="http://blog.blprnt.com/blog/blprnt/7-days-of-source-day-2-nytimes-36536">NY Times: 365/360</a></div>
<p>Processing visualization head <a href="http://blog.blprnt.com/">Jer Thorp</a> is putting his money where his mouth and publishing <a href="http://blog.blprnt.com/blog/blprnt/a-thanksgiving-gift-7-days-of-source-code">7 pieces of code in 7 days</a>, free to download and experiment with. Judging from the three that he&#8217;s released so far they&#8217;re not your standard 20-minute sketches either:</p>
<ol>
<li><a href="http://blog.blprnt.com/blog/blprnt/7-days-of-source-day-1-goodmorning"><strong>GoodMorning!</strong></a> is a Twitter vizualization, showing users around the world popping up on a globe as they utter the magic words &#8220;good morning&#8221;. With a little geocoding and spherical mapping thrown in, this is a sweet sketch</li>
<li><a href="http://blog.blprnt.com/blog/blprnt/7-days-of-source-day-2-nytimes-36536"><strong>NY Times: 365/360</strong></a> uses the New York Times open data API to retrieve news stories for an entire year and draw connections between them. The results combine complexity with elegance for that true infoporn look.</li>
<li><a href="http://blog.blprnt.com/blog/blprnt/7-days-of-source-day-3-tree-growth"><strong>tree.growth</strong></a> revisits that old classic, the L-system tree. Thorp uses colors and abstract &#8220;leaves&#8221; to great effect.</li>
</ol>
<p>With such a strong start, one certainly looks forward to seeing the next four sketches to come. It&#8217;s not so common to find sketches of this complexity freely available, so they&#8217;re a great study for users who are on the threshold of making more complex applications.</p>
]]></content:encoded>
			<wfw:commentRss>http://workshop.evolutionzone.com/2009/10/14/jer-thorps-7-days-of-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Minim 2.0.2 released</title>
		<link>http://workshop.evolutionzone.com/2009/10/05/minim-2-0-2-released/</link>
		<comments>http://workshop.evolutionzone.com/2009/10/05/minim-2-0-2-released/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 02:48:32 +0000</pubDate>
		<dc:creator>marius watz</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Processing / Java]]></category>
		<category><![CDATA[Sound]]></category>
		<category><![CDATA[fft]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[processing.org]]></category>

		<guid isPermaLink="false">http://workshop.evolutionzone.com/?p=290</guid>
		<description><![CDATA[Good news for Processing heads who use sound: Damien de Fede has released a new major version of his excellent Minim library. Along with bug fixes, new features include:

added functions to FFT for doing forward transforms with an offset: forward(float[] samples, offset) and forward(AudioBuffer samples, offset)
added a freqToIndex(float freq) method to FFT for finding out [...]]]></description>
			<content:encoded><![CDATA[<p>Good news for Processing heads who use sound: Damien de Fede has <a href="http://code.compartmental.net/2009/10/04/minim-2-0-2-released/">released a new major version</a> of his excellent Minim library. Along with bug fixes, new features include:</p>
<ul>
<li>added functions to FFT for doing forward transforms with an offset: forward(float[] samples, offset) and forward(AudioBuffer samples, offset)</li>
<li>added a freqToIndex(float freq) method to FFT for finding out the index of the spectrum band that contains the passed in frequency.</li>
<li>added a stop() method to AudioSample, so that playing samples can be immediately silenced.</li>
<li>added setPanNoGlide(float pan) to Controller, which will snap the panning setting of a sound to the provided value.</li>
<li>added setInputMixer(Mixer) and setOutputMixer(Mixer), which allow you to specify which Java Mixer object should be used when obtaining inputs (AudioInput) and outputs (AudioOuput, AudioPlayer, AudioSnippet, AudioSample).</li>
</ul>
<p>Download from the <a href="http://code.compartmental.net/2009/10/04/minim-2-0-2-released/">Minim project page</a>. Read more about the development process on the <a href="http://code.compartmental.net/category/minim/">Compartmental blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://workshop.evolutionzone.com/2009/10/05/minim-2-0-2-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stockspace videos</title>
		<link>http://workshop.evolutionzone.com/2009/09/30/stockspace-videos/</link>
		<comments>http://workshop.evolutionzone.com/2009/09/30/stockspace-videos/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 06:38:20 +0000</pubDate>
		<dc:creator>marius watz</dc:creator>
				<category><![CDATA[Processing / Java]]></category>
		<category><![CDATA[Watz work]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[knight]]></category>
		<category><![CDATA[stock]]></category>
		<category><![CDATA[stockspace]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[watz]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://workshop.evolutionzone.com/?p=273</guid>
		<description><![CDATA[
Marius Watz: Stockspace C2A 0010 (HD)
I&#8217;ve uploaded some HD videos from the Stockspace series I did a while back. You can see the whole set on my Flickr: Stockspace set. There you can also see them in proper HD resolution, which helps preserve finer details of the geometry.
These were originally created for use as TV [...]]]></description>
			<content:encoded><![CDATA[<div class="flickrImg"><object type="application/x-shockwave-flash" width="528" height="297" data="http://www.flickr.com/apps/video/stewart.swf?v=71377" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&#038;photo_secret=cb51637391&#038;photo_id=3965200649&#038;flickr_show_info_box=true&#038;hd_default=false"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=71377"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=71377" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&#038;photo_secret=cb51637391&#038;photo_id=3965200649&#038;flickr_show_info_box=true&#038;hd_default=false" height="297" width="528"></embed></object></p>
<p>Marius Watz: <a href="http://www.flickr.com/photos/watz/3965200649/in/set-72157616153554806/">Stockspace C2A 0010 (HD)</a></div>
<p>I&#8217;ve uploaded some HD videos from the Stockspace series I did a while back. You can see the whole set on my Flickr: <a href="http://www.flickr.com/photos/watz/sets/72157616153554806/">Stockspace set</a>. There you can also see them in proper HD resolution, which helps preserve finer details of the geometry.</p>
<p>These were originally created for use as TV spots for Knight Capital Group. Most of the time they get aired on financial networks very early in the morning, since traders love preparing for the opening of the market by obsessively watching news. </p>
<p>They were also shown on the NASDAQ screen in Times Square once, on an occasion where the Knight CEO rang the morning bell to open the NY Stock Exchange that day. As a recent immigrant to New York that certainly felt gratifying.</p>
]]></content:encoded>
			<wfw:commentRss>http://workshop.evolutionzone.com/2009/09/30/stockspace-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hack: Non-standard windows in Processing</title>
		<link>http://workshop.evolutionzone.com/2009/09/29/hack-non-standard-windows-in-processing/</link>
		<comments>http://workshop.evolutionzone.com/2009/09/29/hack-non-standard-windows-in-processing/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 00:34:33 +0000</pubDate>
		<dc:creator>marius watz</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Processing / Java]]></category>
		<category><![CDATA[awt]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[window]]></category>

		<guid isPermaLink="false">http://workshop.evolutionzone.com/?p=247</guid>
		<description><![CDATA[Processing does not provide any direct mechanism for manipulating the look of the sketch Window, but Java natively supports tricks like turning off the window chrome, explicitly setting window position and making a window &#8220;float&#8221; over all other UI elements. All of this can be accessed via PApplet&#8217;s internal &#8220;frame&#8221; field, which holds an instance [...]]]></description>
			<content:encoded><![CDATA[<p>Processing does not provide any direct mechanism for manipulating the look of the sketch Window, but Java natively supports tricks like turning off the window chrome, explicitly setting window position and making a window &#8220;float&#8221; over all other UI elements. All of this can be accessed via PApplet&#8217;s internal &#8220;frame&#8221; field, which holds an instance of a Frame object representing the window your sketch is running in. But even so, Java won&#8217;t let you have free reign without a little trickery.</p>
<p>The following hack demonstrates how to make a window that has no OS chrome, always stays on top of the UI and has an explicitly set screen position. You can even use the cursor keys to move the window around the screen.</p>
<p>Personally, what I like most about this hack is that it gets around Processing&#8217;s (or possibly Java&#8217;s) assumptions about a minimum window size of ~120&#215;120. If you specify a size that&#8217;s less than 120 on one side, Processing will be pad that side with grey pixels to reach the minimum. But with this hack you can have tiny windows that you can micro-manage to your heart&#8217;s delight. I use it to make debug dispays, small control panels and other useful things.</p>
<p><strong>Update:</strong> <a href="http://twitter.com/CedricKiefer/status/4466913316">@CedricKiefer</a> pointed out another Processing example that allows for <a href="http://www.visualinformation.org/2009/09/25/transparent-application-window-in-processing/">transparent and even irregularly shaped windows</a>. It&#8217;s Windows-only apparently, I bet this kind of thing is a major violation of Apple GUI laws anyhow.</p>
<p><strong>Update 2:</strong> <a href="http://twitter.com/ideoforms/status/4467523812">@ideoforms</a> took my post literally and made a <a href="http://www.erase.net/weblog/2009-09/hackpact-20090929-multiple-bouncing-windows-in-processing">sketch with multiple bouncing windows</a>. Nice.</p>
<div class="mediumtitle">Code: FloatingWindow.pde</div>
<p><span id="more-247"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// FloatingWindow.pde</span>
<span style="color: #666666; font-style: italic;">// Marius Watz - http://workshop.evolutionzone.com</span>
<span style="color: #666666; font-style: italic;">// </span>
<span style="color: #666666; font-style: italic;">// Provides a method for creating frame-less windows with smaller </span>
<span style="color: #666666; font-style: italic;">// than typical sizes. Also demonstrates how to set the precise</span>
<span style="color: #666666; font-style: italic;">// location of the window on screen, as well as make it float over</span>
<span style="color: #666666; font-style: italic;">// all other windows.</span>
<span style="color: #666666; font-style: italic;">//</span>
<span style="color: #666666; font-style: italic;">// Can be useful if you'd like to make a persistent &quot;debug&quot; app of</span>
<span style="color: #666666; font-style: italic;">// some sort, or just because it's neat when things don't look like</span>
<span style="color: #666666; font-style: italic;">// your everyday operating system.</span>
<span style="color: #666666; font-style: italic;">//</span>
<span style="color: #666666; font-style: italic;">// Works both with P2D and OPENGL.Uses a trick from this Processing hack:</span>
<span style="color: #666666; font-style: italic;">// http://processing.org/hacks/hacks:undecoratedframe</span>
&nbsp;
PFont fnt<span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">int</span> W,H,PX,PY<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">void</span> setup<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #666666; font-style: italic;">// W x H == desired size of frame. </span>
  <span style="color: #666666; font-style: italic;">// Normally, Processing will not create a frame smaller than ~120x120,</span>
  <span style="color: #666666; font-style: italic;">// but will pad the window with blank pixels.</span>
  W<span style="color: #339933;">=</span><span style="color: #cc66cc;">100</span><span style="color: #339933;">;</span>
  H<span style="color: #339933;">=</span><span style="color: #cc66cc;">40</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">// initial position of frame</span>
  PX<span style="color: #339933;">=</span><span style="color: #cc66cc;">100</span><span style="color: #339933;">;</span>
  PY<span style="color: #339933;">=</span><span style="color: #cc66cc;">100</span><span style="color: #339933;">;</span>
&nbsp;
  size<span style="color: #009900;">&#40;</span>W,H<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  fnt<span style="color: #339933;">=</span>createFont<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Arial&quot;</span>,<span style="color: #cc66cc;">12</span>,<span style="color: #000066; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// overriding PApplet.init() to add a hack of our own</span>
<span style="color: #000066; font-weight: bold;">void</span> init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">// trick to make it possible to change the frame properties</span>
  frame.<span style="color: #006633;">removeNotify</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
  <span style="color: #666666; font-style: italic;">// comment this out to turn OS chrome back on</span>
  frame.<span style="color: #006633;">setUndecorated</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
  <span style="color: #666666; font-style: italic;">// comment this out to not have the window &quot;float&quot;</span>
  frame.<span style="color: #006633;">setAlwaysOnTop</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
  frame.<span style="color: #006633;">setResizable</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
  frame.<span style="color: #006633;">addNotify</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
  <span style="color: #666666; font-style: italic;">// making sure to call PApplet.init() so that things </span>
  <span style="color: #666666; font-style: italic;">// get  properly set up.</span>
  <span style="color: #000000; font-weight: bold;">super</span>.<span style="color: #006633;">init</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">void</span> draw<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  background<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">// resize and set initial location a few frames after sketch start. </span>
  <span style="color: #666666; font-style: italic;">// our window will now be tiny and located at position PX,PY.</span>
&nbsp;
  <span style="color: #000000; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>frameCount<span style="color: #339933;">==</span><span style="color: #cc66cc;">5</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    frame.<span style="color: #006633;">resize</span><span style="color: #009900;">&#40;</span>W,H<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    frame.<span style="color: #006633;">setLocation</span><span style="color: #009900;">&#40;</span>PX,PY<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">// draw window outline</span>
  noStroke<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  fill<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">255</span>,<span style="color: #cc66cc;">100</span>,<span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  rect<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">0</span>, width,height<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  fill<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  rect<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">3</span>,<span style="color: #cc66cc;">3</span>, width<span style="color: #339933;">-</span><span style="color: #cc66cc;">6</span>,height<span style="color: #339933;">-</span><span style="color: #cc66cc;">6</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  textFont<span style="color: #009900;">&#40;</span>fnt<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  fill<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">255</span>,<span style="color: #cc66cc;">255</span>,<span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  text<span style="color: #009900;">&#40;</span>frameCount<span style="color: #339933;">/</span><span style="color: #cc66cc;">10</span><span style="color: #339933;">+</span><span style="color: #0000ff;">&quot; | &quot;</span><span style="color: #339933;">+</span>
    frame.<span style="color: #006633;">getLocation</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">x</span><span style="color: #339933;">+</span><span style="color: #0000ff;">&quot;,&quot;</span><span style="color: #339933;">+</span>
    frame.<span style="color: #006633;">getLocation</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">y</span>,<span style="color: #cc66cc;">16</span>,<span style="color: #cc66cc;">24</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// the cursor keys may be used to move the window around</span>
<span style="color: #000066; font-weight: bold;">void</span> keyPressed<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>key<span style="color: #339933;">==</span>CODED<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>keyCode<span style="color: #339933;">==</span>LEFT<span style="color: #009900;">&#41;</span> frame.<span style="color: #006633;">setLocation</span><span style="color: #009900;">&#40;</span>
      frame.<span style="color: #006633;">getLocation</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">x</span><span style="color: #339933;">-</span><span style="color: #cc66cc;">5</span>,
      frame.<span style="color: #006633;">getLocation</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">y</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000000; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>keyCode<span style="color: #339933;">==</span>RIGHT<span style="color: #009900;">&#41;</span> frame.<span style="color: #006633;">setLocation</span><span style="color: #009900;">&#40;</span>
      frame.<span style="color: #006633;">getLocation</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">x</span><span style="color: #339933;">+</span><span style="color: #cc66cc;">5</span>,
      frame.<span style="color: #006633;">getLocation</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">y</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000000; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>keyCode<span style="color: #339933;">==</span>UP<span style="color: #009900;">&#41;</span> frame.<span style="color: #006633;">setLocation</span><span style="color: #009900;">&#40;</span>
      frame.<span style="color: #006633;">getLocation</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">x</span>,
      frame.<span style="color: #006633;">getLocation</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">y</span><span style="color: #339933;">-</span><span style="color: #cc66cc;">5</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000000; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>keyCode<span style="color: #339933;">==</span>DOWN<span style="color: #009900;">&#41;</span> frame.<span style="color: #006633;">setLocation</span><span style="color: #009900;">&#40;</span>
      frame.<span style="color: #006633;">getLocation</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">x</span>,
      frame.<span style="color: #006633;">getLocation</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">y</span><span style="color: #339933;">+</span><span style="color: #cc66cc;">5</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>  
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://workshop.evolutionzone.com/2009/09/29/hack-non-standard-windows-in-processing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TileSaver broken &#8211; temporary hack</title>
		<link>http://workshop.evolutionzone.com/2009/08/18/tilesaver-broken-temporary-hack/</link>
		<comments>http://workshop.evolutionzone.com/2009/08/18/tilesaver-broken-temporary-hack/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 05:22:26 +0000</pubDate>
		<dc:creator>marius watz</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Libraries]]></category>
		<category><![CDATA[Processing / Java]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[high-resolution]]></category>
		<category><![CDATA[output]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[tilesaver]]></category>
		<category><![CDATA[unlekkerlib]]></category>

		<guid isPermaLink="false">http://workshop.evolutionzone.com/?p=244</guid>
		<description><![CDATA[As documented in this thread on the Processing forums the TileSaver class seems to be broken for current versions of Processing. Sadly I&#8217;m not sure what the problem is and I don&#8217;t have time to fix it right now.
However, I tried the original TileSaver code posted back in 2006 and miraculously that still works. This [...]]]></description>
			<content:encoded><![CDATA[<p>As documented in <a href="http://processing.org/discourse/yabb2/YaBB.pl?num=1248245155/0#10">this thread on the Processing forums</a> the TileSaver class seems to be broken for current versions of Processing. Sadly I&#8217;m not sure what the problem is and I don&#8217;t have time to fix it right now.</p>
<p>However, I tried the original TileSaver code posted back in 2006 and miraculously that still works. This would imply a larger issue with the unlekkerLib library and Processing 1.0, which I&#8217;ll have to address when I have the time.</p>
<p>For now, here is a link to a working Processing sketch using the old TileSaver code: <a href="http://workshop.evolutionzone.com/files/TileSaverTest.zip">TileSaverTest.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://workshop.evolutionzone.com/2009/08/18/tilesaver-broken-temporary-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>unlekkerLib0003c: Now compatible with Processing 1.0</title>
		<link>http://workshop.evolutionzone.com/2009/04/16/unlekkerlib0003c-now-compatible-with-processing-10/</link>
		<comments>http://workshop.evolutionzone.com/2009/04/16/unlekkerlib0003c-now-compatible-with-processing-10/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 06:19:56 +0000</pubDate>
		<dc:creator>marius watz</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Libraries]]></category>
		<category><![CDATA[Processing / Java]]></category>
		<category><![CDATA[codeandform]]></category>
		<category><![CDATA[google code]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[tilesaver]]></category>
		<category><![CDATA[unlekkerlib]]></category>

		<guid isPermaLink="false">http://workshop.evolutionzone.com/?p=234</guid>
		<description><![CDATA[After several requests I&#8217;ve taken the time to make unlekkerLib  compatible with Processing 1.0. Apologies to anyone who&#8217;s been inconvenienced by the lack of a 1.0 version.
In particular, STL export should work again. However I haven&#8217;t had the chance to test the code very much, so please let me know if you find any [...]]]></description>
			<content:encoded><![CDATA[<p>After several requests I&#8217;ve taken the time to make <a href="http://workshop.evolutionzone.com/unlekkerlib/">unlekkerLib </a> compatible with Processing 1.0. Apologies to anyone who&#8217;s been inconvenienced by the lack of a 1.0 version.</p>
<p>In particular, STL export should work again. However I haven&#8217;t had the chance to test the code very much, so please let me know if you find any bugs.</p>
<div class="mediumtitle">Download</div>
<ul>
<li><a href="http://code.google.com/p/codeandform/downloads/detail?name=unlekkerLib0003c.zip&#038;can=2&#038;q=" title="unlekkerLib0003c">unlekkerLib0003c</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://workshop.evolutionzone.com/2009/04/16/unlekkerlib0003c-now-compatible-with-processing-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nokia E71: Beautiful Connections</title>
		<link>http://workshop.evolutionzone.com/2009/02/28/nokia-e71-beautiful-connections/</link>
		<comments>http://workshop.evolutionzone.com/2009/02/28/nokia-e71-beautiful-connections/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 07:52:00 +0000</pubDate>
		<dc:creator>marius watz</dc:creator>
				<category><![CDATA[Processing / Java]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Watz work]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[e71]]></category>
		<category><![CDATA[generative]]></category>
		<category><![CDATA[j2me]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[marius-watz]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[processing.org]]></category>

		<guid isPermaLink="false">http://workshop.evolutionzone.com/?p=219</guid>
		<description><![CDATA[
Beautiful Connections: Mobile artwork for Nokia E71 (see nokia.co.uk/e71)
I recently had the privilege of being commissioned by Wieden + Kennedy to creating an artwork for Nokia&#8217;s new smartphone E71. It&#8217;s a new model featuring a full QWERTY keyboard, and is intended to function as a complete communication platform for people on the move. As a [...]]]></description>
			<content:encoded><![CDATA[<div class="flickrImg"><img src="http://workshop.evolutionzone.com/wp-content/uploads/2009/02/20090228_nokia_e71.jpg" alt="Beautiful Connections: Mobile artwork for Nokia E71" title="Beautiful Connections: Mobile artwork for Nokia E71" width="500" height="356" class="size-full wp-image-223" /></p>
<p>Beautiful Connections: <a href="http://flickr.com/photos/watz/sets/72157614375037675/">Mobile artwork for Nokia E71</a> (see <a href="http://nokia.co.uk/e71">nokia.co.uk/e71</a>)</div>
<p>I recently had the privilege of being commissioned by Wieden + Kennedy to creating an artwork for Nokia&#8217;s new smartphone E71. It&#8217;s a new model featuring a full QWERTY keyboard, and is intended to function as a complete communication platform for people on the move. As a response to this purpose, W+K&#8217;s campaign focused on the idea of &#8220;Beautiful Connections&#8221;.</p>
<p>My contribution was a mobile app that allows the user to type in a short SMS-style message, which is then used as the basis for a generative animation that results in a visual compositions of curling forms. The final image can then be sent to other users as a MMS or saved to the phone memory for use as a wallpaper. </p>
<p><strong>Technically it was a challenge</strong> to get all the different functions to come together in a single coherent application. The project was developed as a pure J2ME app based loosely on an old version of Mobile Processing. To get a smooth rendering style I chose to use the JSR-226 API for Scalable Vector Graphics, which allowed for properly anti-aliased drawings at the cost of a lower frame rate (approx 7 FPS). Standard J2ME graphics would have given 20 FPS, but the final result would have been less attractive.</p>
<p>All interface elements (menus, text input fields and contact information menu) were built from scratch to avoid the lo-tech feel of the default J2ME UI elements. This required quite a bit of work, but it would have been silly to break the organic feel of the application by using the native phone UI. Instead, the decision was made to make the app feel like a completely upgraded experience. This goal was finally achieved through liberal use of transparent PNGs and old school pixel font trickery.</p>
<div class="flickrImgBody"><object type="application/x-shockwave-flash" width="500" height="375" data="http://www.flickr.com/apps/video/stewart.swf?v=67090" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&amp;photo_secret=a541a7bda7&amp;photo_id=3197784422&amp;show_info_box=true"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=67090"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=67090" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&amp;photo_secret=a541a7bda7&amp;photo_id=3197784422&amp;flickr_show_info_box=true" height="375" width="500"></embed></object></p>
<p>Beautiful Connections: Animation demo</p></div>
<p>Visit <a href="http://nokia.co.uk/e71">nokia.co.uk/e71</a> to see the campaign and download the application (it&#8217;s free!) Make sure to also check out the four excellent videos produced by <a href="http://www.moresoon.org/">Carl Burgess</a>, <a href="http://universaleverything.com">Universal Everything</a>, <a href="http://www.field.io/">Field</a> and <a href="http://www.shft.tv/">SHFT</a>. To complete the Beautiful Connections concept the web site also features an interactive message generator built in Flash that allows you to create images using live sound and web cam input.</p>
<p>My thanks to the Wieden + Kennedy crew for inviting me to do this project, in particular to <a href="http://www.sermad.com">Sermad Buni</a> and <a href="http://lptremblay.com/">Louis-Philippe Tremblay</a> for their excellent support. My thanks also to Nokia for having the vision of wanting artworks on their phones. Now, if only Apple would create a category for art on their App Store&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://workshop.evolutionzone.com/2009/02/28/nokia-e71-beautiful-connections/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Conical prints</title>
		<link>http://workshop.evolutionzone.com/2009/02/01/conical-prints/</link>
		<comments>http://workshop.evolutionzone.com/2009/02/01/conical-prints/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 07:49:29 +0000</pubDate>
		<dc:creator>marius watz</dc:creator>
				<category><![CDATA[Processing / Java]]></category>
		<category><![CDATA[Watz work]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[cronica electronica]]></category>
		<category><![CDATA[generative]]></category>
		<category><![CDATA[limited]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[watz]]></category>

		<guid isPermaLink="false">http://workshop.evolutionzone.com/?p=218</guid>
		<description><![CDATA[
Marius Watz: Conical (prints released on Cronica Electronica)
I just completed a new series called Conical, which was initiated as an artwork for the Cimatics festival but never used. So when Miguel Carvalhais from the Cronica Electronica label asked if I would do a cover for Morten Riis&#8217; Digital Sound Drawings, I was happy to have [...]]]></description>
			<content:encoded><![CDATA[<div class="flickrImg"><a href="http://www.cronicaelectronica.org/?p=039l" title="Conical01 0009"><img src="http://farm4.static.flickr.com/3258/3240118130_e40055cba9.jpg?v=0" width="500" height="500" alt="Conical01 0009 Lo" /></a></p>
<p>Marius Watz: Conical (prints released on Cronica Electronica)</p></div>
<p>I just completed a new series called Conical, which was initiated as an artwork for the Cimatics festival but never used. So when Miguel Carvalhais from the Cronica Electronica label asked if I would do a cover for Morten Riis&#8217; <a href="http://www.cronicaelectronica.org/?p=039">Digital Sound Drawings</a>, I was happy to have a chance to bring the project to a good conclusion.</p>
<p>In addition to the cover artwork for the album (released as a downloadable rather than as a physical CD), we are releasing a series of 10 limited Conical prints as part of the <a href="http://www.cronicaelectronica.org/?p=limited">Cronica Limited series</a>:</p>
<blockquote><p>Conical is an investigation of a 3D form composed of lines that trace out segments of multiple cones. Seen at a distance, the form becomes a spatial volume. Zooming in, the sense of volume disappears and the form becomes a 2D surface. The image resolves into a complex pattern of optical interference, without any depth cues to indicate its 3D nature.</p></blockquote>
<p>The 10 prints are 40&#215;40 cm archival inkjet prints, released as uniques and signed by the artist. The price is a modest €125 per print. You can see <a href="http://www.cronicaelectronica.org/?p=039l2">all 10 images here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://workshop.evolutionzone.com/2009/02/01/conical-prints/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Code, Space, Form symposium</title>
		<link>http://workshop.evolutionzone.com/2009/01/17/code-space-form-symposium/</link>
		<comments>http://workshop.evolutionzone.com/2009/01/17/code-space-form-symposium/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 19:46:34 +0000</pubDate>
		<dc:creator>marius watz</dc:creator>
				<category><![CDATA[Processing / Java]]></category>
		<category><![CDATA[Theory]]></category>
		<category><![CDATA[Watz work]]></category>
		<category><![CDATA[Web dev]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[cmu]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[exhibition]]></category>
		<category><![CDATA[generative]]></category>
		<category><![CDATA[golan levin]]></category>
		<category><![CDATA[marius-watz]]></category>
		<category><![CDATA[pittsburgh]]></category>
		<category><![CDATA[reas]]></category>

		<guid isPermaLink="false">http://workshop.evolutionzone.com/?p=217</guid>
		<description><![CDATA[
Code, Space, Form, February 3-7 at CMU, Pittsburgh

The eminent Golan Levin has just announced a symposium titled &#8220;Code, Space, Form&#8221;, featuring C.E.B. Reas, MOS Architects, Ben Pell and yours truly. Hosted by Carnegie-Mellon University, it&#8217;s a multi-day affair with lectures and workshops, culminating in an exhibition at the Pittsburgh Center for the Arts. It should [...]]]></description>
			<content:encoded><![CDATA[<div class="flickrImg"><a href="http://www.flickr.com/photos/watz/3198923258/" title="&quot;Code, Form, Space&quot; symposium 01 by watz, on Flickr"><img src="http://farm4.static.flickr.com/3257/3198923258_3828dafd91.jpg" width="386" height="500" alt="&quot;Code, Form, Space&quot; symposium 01" /></a></p>
<p><a href="http://www.flong.com/blog/archives/103">Code, Space, Form</a>, February 3-7 at CMU, Pittsburgh</p>
</div>
<p>The eminent <a href="http://flong.com/">Golan Levin</a> has just announced a symposium titled &#8220;Code, Space, Form&#8221;, featuring <a href="http://www.reas.com/">C.E.B. Reas</a>, <a href="http://www.mos-office.net/">MOS Architects</a>, <a href="http://www.pelloverton.com/">Ben Pell</a> and yours truly. Hosted by Carnegie-Mellon University, it&#8217;s a multi-day affair with lectures and workshops, culminating in an exhibition at the Pittsburgh Center for the Arts. It should provide an interesting discussion of the implications of generative strategies in art and architecture.</p>
<p>Here is the info from Golan&#8217;s blog, hope to see you there if you&#8217;re anywhere within range of Pittsburgh:</p>
<blockquote><p>I am delighted to announce “Code, Form, Space”, a mini-symposium about generative form and digital fabrication, which will be held at Carnegie Mellon University during the week of February 3-7. Nearly all of the events are completely free and open to the public – and include lecture presentations by such distinguished computational artist/designers as <a title="Casey Reas" href="http://www.reas.com/" target="_blank"><strong>C.E.B. Reas</strong></a>, <a title="Marius Watz" href="http://www.unlekker.net/" target="_blank"><strong>Marius Watz</strong></a>, <a title="Pell/Overton" href="http://www.pelloverton.com/" target="_blank"><strong>Ben Pell</strong></a>, and <strong>Michael Meredith</strong> and <strong>Hilary Sample</strong> of <a title="MOS Architects" href="http://www.mos-office.net/" target="_blank"><strong>MOS Architects</strong></a>. I’m co-directing this event in collaboration with <strong>Jeremy Ficca</strong> (Professor of Architecture and Director of the CMU <a title="dFAB" href="http://www.cmu.edu/homepage/innovation/2008/spring/dfab.shtml" target="_blank"><strong>Digital Fabrication Lab</strong></a>), the <a href="http://www.lectureseri.es/"><strong>CMU School of Art Lecture Series</strong></a>, and the <a title="PCA" href="http://www.pittsburgharts.org/index.php" target="_blank"><strong>Pittsburgh Center for the Arts</strong></a>.</p>
</blockquote>
<div class="mediumtitle">More information</div>
<ul>
<li><a href="http://www.flong.com/storage/pdf/brochures/code-form-space.pdf">Code, Form, Space poster and brochure (PDF)</a></li>
<li><a href="http://www.art.cfa.cmu.edu/news-events-and-calendars/lectures/symposia/code_form_space">CMU School of Art: &#8220;Code, Form, Space&#8221;</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://workshop.evolutionzone.com/2009/01/17/code-space-form-symposium/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Processing Monsters</title>
		<link>http://workshop.evolutionzone.com/2008/11/12/processing-monsters/</link>
		<comments>http://workshop.evolutionzone.com/2008/11/12/processing-monsters/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 17:20:40 +0000</pubDate>
		<dc:creator>marius watz</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Processing / Java]]></category>
		<category><![CDATA[interactive]]></category>
		<category><![CDATA[Lukas Vojir]]></category>
		<category><![CDATA[monster]]></category>
		<category><![CDATA[processing.org]]></category>

		<guid isPermaLink="false">http://workshop.evolutionzone.com/?p=214</guid>
		<description><![CDATA[
Lukas Vojir: Processing Monsters
Czech Processing hacker Lukas Vojir has come up with a great project to test out your coding skills: Make your very own Processing Monster! 
Essentially, these  &#8220;monsters&#8221; are little black and white interactive sketches, in which all manners of strange dark creatures stand ready to react to the user&#8217;s poking and [...]]]></description>
			<content:encoded><![CDATA[<div class="flickrImg"><a href="http://rmx.cz/monsters/"><img src="/wp-content/uploads/2008/20081112_processing_monsters02.gif" alt="Processing Monsters" /></a></p>
<p>Lukas Vojir: <a href="http://rmx.cz/monsters/">Processing Monsters</a></div>
<p>Czech Processing hacker Lukas Vojir has come up with a great project to test out your coding skills: Make your very own <a href="http://rmx.cz/monsters/">Processing Monster</a>! </p>
<p>Essentially, these  &#8220;monsters&#8221; are little black and white interactive sketches, in which all manners of strange dark creatures stand ready to react to the user&#8217;s poking and prodding. It&#8217;s surprisingly effective in its simplicity, once again reminding you that simple narrative devices are often the best. </p>
<p>Lukas is currently soliciting collaborators who want to contribute to the online bestiary, if you have a minute I would definitely recommend giving it a go. Now, if only I had the time to make that scary multi-tentacled squid beast&#8230;</p>
<p>For more about Lukas Vojir, take a look at his portfolio site <a href="http://rmx.cz/">rmx.cz</a> or his <a href="http://rrrrrrmx.tumblr.com/">Tumblr blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://workshop.evolutionzone.com/2008/11/12/processing-monsters/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
