Exhibition - Processing Discourse board_Exhibition.html Exhibition - Processing Discourse en-us Processing Discourse Thu, 22 Mar 2012 06:03:58 +0000 http://blogs.law.harvard.edu/tech/rss 30 64-bit images - Just for fun project num_1276889732.html Processing Discourse/Exhibition num_1276889732.html Fri, 18 Jun 2010 12:35:32 +0000 So last night i was scrolling through the sample for &quot;Processing: a programming handbook for visual designers and artists&quot; to see what it's about and the interview with Jared Tarbell really caught my eye with his &quot;Fractal.Invaders&quot; and i remember trying to do something like it myself some years ago but failing badly, basically my idea was to do it all with one &quot;big&quot; recursive function - long story short: Stack overflow.<br /><br /> Anyways, so i thought &quot;hey lets try it again, i must be able to come up with some smart way of doing it&quot; and as it turns out i was. So i thought i'd share what i came up with:<br /><br /> <b>Code:</b><pre class="code"><br &#47;>int number;<br &#47;>int rectWidth;<br &#47;>int offset;<br &#47;>void setup&#40;&#41;&#123;<br &#47;>  size&#40;800,800&#41;;<br &#47;>  background&#40;255&#41;;<br &#47;>  fill&#40;0&#41;;<br &#47;>  noStroke&#40;&#41;;<br &#47;>  number = 1515175624; &#47;&#47;magic constant&#33;<br &#47;>  offset = 5; &#47;&#47;ofset from the edge of the window&#46;&#46; sort of<br &#47;>  rectWidth = height&#47;8&#45;offset; &#47;&#47; width of the boxes<br &#47;>&#125;<br &#47;><br &#47;>void draw&#40;&#41;&#123;<br &#47;>  background&#40;255&#41;;<br &#47;>  int temp = number;<br &#47;>  for&#40;int y = 0; y &lt; 8;y++&#41;&#123;<br &#47;>    for&#40;int x = 0; x &lt; 4;x++&#41;&#123;<br &#47;>      if&#40;temp%2 == 0&#41;&#123;<br &#47;>        fill&#40;255&#41;;<br &#47;>      &#125;else&#123;<br &#47;>        fill&#40;0&#41;;<br &#47;>      &#125;<br &#47;>      rect&#40;offset*4+&#40;width&#45;height&#41;&#47;2+x*rectWidth,offset*4+y*rectWidth,rectWidth,rectWidth&#41;;<br &#47;>      rect&#40;&#45;&#40;width&#45;height&#41;&#47;2&#45;offset*4+width&#45;&#40;x+1&#41;*rectWidth,offset*4+y*rectWidth,rectWidth,rectWidth&#41;;<br &#47;>      temp = temp &gt;&gt;1;<br &#47;>    &#125; <br &#47;>  &#125;<br &#47;> &#47;&#47;number = int&#40;random&#40;&#45;&#40;MAX_INT&#41;&#41;&#41;+int&#40;random&#40;&#40;128&#41;&#41;&#41;; &#47;&#47;uncomment this &#45; shit brix<br &#47;>&#125;<br &#47;><br &#47;>void mousePressed&#40;&#41;&#123;<br &#47;>  number = int&#40;random&#40;&#45;&#40;MAX_INT&#41;&#41;&#41;+int&#40;random&#40;&#40;128&#41;&#41;&#41;;<br &#47;>&#125; </pre><br /><br />I'd like to point out that while the code is indeed mine, the idea of mirroring the random-pattern to create space invader-like creature belongs to Jared (as far as i can tell). This code is just my solution to the program he described. Also i haven't actually seen Jared's source code for it was in .fla format and im still downloading flash.<br />There, just wanted to point that out so no one is offended or confused :)<br /><br /><br />Usage: Click to create a new random thingy. Evolving Loop Sequencer num_1276782247.html Processing Discourse/Exhibition num_1276782247.html Thu, 17 Jun 2010 06:45:07 +0000 Here's the class Loop:<br /> <b>Code:</b><pre class="code">class Loop &#123;<br &#47;>  &#47;&#47;This is the evolutionary unit<br &#47;>  &#47;&#47;it consists of all the sounds that play during a loop<br &#47;>  int loop_size;<br &#47;>  int loop_time; &#47;&#47;in milliseconds<br &#47;>  int plays_left;<br &#47;>  <br &#47;>  int&#91;&#93; slots;<br &#47;>  float&#91;&#93; population;<br &#47;>  <br &#47;>  Loop&#40;Loop parent&#41; &#123;<br &#47;>    plays_left = 2;<br &#47;>    if &#40;parent == null&#41; &#123;<br &#47;>      loop_size = 16;<br &#47;>      loop_time = 60000&#47;bpm * loop_size; &#47;&#47;2000<br &#47;>      <br &#47;>      int num_starters = int&#40;random&#40;1,loop_size&#47;2&#41;&#41;;<br &#47;>      slots = new int&#91;loop_size&#93;;<br &#47;>      population = new float&#91;loop_size&#93;;<br &#47;>      <br &#47;>      for &#40;int i=0;i&lt;loop_size;i++&#41; &#123;<br &#47;>        slots&#91;i&#93; = &#45;1;<br &#47;>      &#125;<br &#47;>      for &#40;int i=0;i&lt;num_starters;i++&#41; &#123;<br &#47;>&#47;&#47;        println&#40;&quot;index&#58; &quot; + int&#40;random&#40;1,loop_size&#41;&#41; + &quot; value&#58; &quot; + int&#40;random&#40;0,samples&#46;length&#41;&#41;&#41;;<br &#47;>        slots&#91;int&#40;random&#40;1,loop_size&#41;&#41;&#93; = int&#40;random&#40;0,samples&#46;length&#41;&#41;;<br &#47;>      &#125;<br &#47;>      for &#40;int i=0;i&lt;loop_size;i++&#41; &#123;<br &#47;>        population&#91;i&#93; = random&#40;100&#41;;<br &#47;>      &#125;<br &#47;>      <br &#47;>    &#125; else &#123;<br &#47;>      loop_size = parent&#46;loop_size;<br &#47;>      loop_time = parent&#46;loop_time;<br &#47;>      &#47;*<br &#47;>      if &#40;random&#40;100&#41; &lt; 10&#41; &#123;<br &#47;>        if &#40;random&#40;100&#41; &lt; 50&#41; loop_size++;<br &#47;>        if &#40;random&#40;100&#41; &lt; 50&#41; loop_size&#45;&#45;;<br &#47;>      &#125;<br &#47;>      if &#40;random&#40;100&#41; &lt; 10&#41; &#123;<br &#47;>        if &#40;random&#40;100&#41; &lt; 50&#41; loop_time = loop_time + 10;<br &#47;>        if &#40;random&#40;100&#41; &lt; 50&#41; loop_time = loop_time &#45; 10;<br &#47;>      &#125;<br &#47;>      *&#47;<br &#47;>      slots = new int&#91;loop_size&#93;;<br &#47;>      population = new float&#91;loop_size&#93;;<br &#47;>      <br &#47;>      for &#40;int i=0;i&lt;loop_size;i++&#41; &#123;<br &#47;>        if &#40;i &lt; parent&#46;loop_size&#41; &#123;<br &#47;>          if &#40;random&#40;100&#41; &lt; 75&#41; &#123; &#47;&#47;parent&#46;population&#91;i&#93;<br &#47;>            slots&#91;i&#93; = parent&#46;slots&#91;i&#93;;<br &#47;>            population&#91;i&#93; = parent&#46;population&#91;i&#93;;<br &#47;>          &#125; else &#123;<br &#47;>            if &#40;random&#40;100&#41; &lt; 50&#41; slots&#91;i&#93; = int&#40;random&#40;0,samples&#46;length&#41;&#41;;<br &#47;>            else slots&#91;i&#93; = &#45;1;<br &#47;>            population&#91;i&#93; = random&#40;100&#41;;<br &#47;>          &#125;<br &#47;>        &#125;<br &#47;>      &#125;<br &#47;>      <br &#47;>    &#125;<br &#47;>  &#125;<br &#47;>  <br &#47;>  void show_loop&#40;&#41; &#123;<br &#47;>    String txt;<br &#47;>    txt = &quot;&#91;&quot;;<br &#47;>    for &#40;int i=0;i&lt;loop_size;i++&#41; &#123;<br &#47;>      txt += slots&#91;i&#93;;<br &#47;>      if &#40;i &lt; loop_size&#45;1&#41; txt += &quot;,&quot;;<br &#47;>    &#125;<br &#47;>    txt += &quot;&#93;&quot;;<br &#47;>    println&#40;txt&#41;;<br &#47;>  &#125;<br &#47;>  <br &#47;>  <br &#47;>&#125; </pre><br /> Images composed with words num_1276207592.html Processing Discourse/Exhibition num_1276207592.html Thu, 17 Jun 2010 03:38:05 +0000 Yes Bejoscha, the principle is very simple...<br /><br />One again the rotation choosed is the best one for the word. It just look for the best position.<br /><br />And Thanks Culbart!. Text Universe num_1276254312.html Processing Discourse/Exhibition num_1276254312.html Thu, 17 Jun 2010 03:00:30 +0000 Great Ideas ,Thanks to share posts.<a href="http://pattybender.com/1/workathomeoninternet/" target="_blank">Work At Home On the Internet</a> &nbsp;<br /> Flocking birds and patterns by group-adaptation num_1276694443.html Processing Discourse/Exhibition num_1276694443.html Wed, 16 Jun 2010 06:20:43 +0000 Back from a long time offline. Good to be here again.<br /><br />Anyway, I've recently been interested in what patterns emerge in &quot;flocking&quot; behavior and did my first rough sketch in this field mainly to learn the basics.<br />I know, it is not unique and others have done similar things in the past, but I think it is at least a nice demo-code to built on if you want to dive into that topic yourself.<br /><br />Personally,  I like watching the everchanging patterns....<br /><br /><a href="http://www.openprocessing.org/visuals/?visualID=10430" target="_blank">http://www.openprocessing.org/visuals/?visualID=10430</a> Moved: 'Worm that eats circles/ellipses' num_1276246862.html Processing Discourse/Exhibition num_1276246862.html Fri, 11 Jun 2010 05:54:14 +0000 <b>This Topic has been moved to </b><a href="num_1276246863.html#0"><i><b>Programs</b></i></a><b> by <i>PhiLho </i></b> Free augmented reality app num_1275998202.html Processing Discourse/Exhibition num_1275998202.html Fri, 11 Jun 2010 00:51:03 +0000 For the record, this thread was in General Discussions but fry moved it here. Foreverwater2 num_1268566018.html Processing Discourse/Exhibition num_1268566018.html Thu, 10 Jun 2010 06:46:34 +0000 This user friendly generator is genuine! nice!  <img src="yabbfiles/Templates/Forum/processing_one/cheesy.gif" border="0" alt="Cheesy" title="Cheesy" /> Moved: 'display arrays of images and pixels with the mouse' num_1276144003.html Processing Discourse/Exhibition num_1276144003.html Thu, 10 Jun 2010 00:51:07 +0000 <b>This Topic has been moved to </b><a href="num_1276144004.html#0"><i><b>Programs</b></i></a><b> by <i>PhiLho </i></b> Featuring "Storm" on a color box num_1276039420.html Processing Discourse/Exhibition num_1276039420.html Wed, 09 Jun 2010 03:04:31 +0000 This is terrific. Thanks again Owaun. I'm including this among about 8 pieces I'm showing on the color box. <br /><br />I'm having some issues with my NEXT function (in HTML not processing-- just giving the context). Because it's all running with the Wii infrared camera, I am only tracking Mouse location. For some reason the mouseover for NEXT isn't getting triggered when Storm is running. It works for most of the other processing pages, though not all the time.<br /><br />Here's a test setup-- but keep in mind it's designed for projectors at 800x600 full screen. (And nothing is cited, this is a test stage)<br />http://www.acolorbox.com/2010content_Alchemeyez/storm/15.html<br /><br />Anyway, the solution I'm working with now is to enable mouseclicks with the Wiimote-- but that ran into a problem with STORM. The wiimote oversimulates clicks.<br /><br />How do we turn off any mouseclick functionality within STORM? <br /><br />Sorry long explanation to get to simple question. It will work best of mouseclick does nothing. I tried to comment out mouseclick but it messed everything up.<br /><br />P.S. still seems like the most of the affect occurs in the upper left part of the screen. Reggae Trip num_1276038155.html Processing Discourse/Exhibition num_1276038155.html Tue, 08 Jun 2010 16:02:35 +0000 As the title say : a reggae sample done with LMMS and some glowing effects in OPENGL.<br /><br /><a href="http://www.yelele.eu/menu_8/menu_1/page7.html" target="_blank"><img src="http://www.yelele.eu/menu_9/fichiers/programmation_reggae_trip.jpg" name="post_img_resize" alt="..." title="..." border="0" style="display:none" /></a><br /><a href="http://www.yelele.eu/menu_8/menu_1/page7.html" target="_blank">Have a look</a><br /><br /><br /><br />(<a href="http://processing.org/discourse/yabb2/num_1267880383_.html#34; target="_blank">Yelele shoot</a> still waiting for beta testing and comments) Using Lemur to control Processing P5, for VJing num_1275529161.html Processing Discourse/Exhibition num_1275529161.html Tue, 08 Jun 2010 15:47:48 +0000 cool coins game num_1275651752.html Processing Discourse/Exhibition num_1275651752.html Mon, 07 Jun 2010 08:11:18 +0000 press 1 to 9 to go diretly to this level<br />klaus Railroad Shunting Puzzles num_1275435484.html Processing Discourse/Exhibition num_1275435484.html Sat, 05 Jun 2010 13:21:17 +0000 Evident cleanliness and precision! &nbsp;Nice polish to the movement and action. Sunset num_1275695939.html Processing Discourse/Exhibition num_1275695939.html Fri, 04 Jun 2010 16:58:59 +0000 Sunset<br /><a href="http://www.openprocessing.org/visuals/?visualID=10211" target="_blank">http://www.openprocessing.org/visuals/?visualID=10211</a><br /><br /><a href="http://www.openprocessing.org/visuals/applets/visual60db24428aaee4a81c96f78a22520659/smallImage.jpg" rel="gb_image[nice_pics]" title="..."><img src="http://www.openprocessing.org/visuals/applets/visual60db24428aaee4a81c96f78a22520659/smallImage.jpg" name="post_img_resize" alt="..." title="..." border="0" style="display:none" /></a><object classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000" width="320" height="276" codebase="http://active.macromedia.com/flash7/cabs/swflash.cab#version=9,0,0,0"><param name="movie" value="http://www.youtube.com/v/GsWms2mK3Zk" /><param name="loop" value="false" /><param name="quality" value="high" /><param name='bgcolor' value="#FFFFFF" /><embed src="http://www.youtube.com/v/GsWms2mK3Zk" width="320" height="276" loop="false" bgcolor="#FFFFFF" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" /></object><br /><br /> <b>Quote:</b><br /><div class="quote" style="width: 90%; overflow: auto;">Uses the awesome Processing code by<br />Harukit (Shining Particles) and Dotlassie (Smoke)<br /><br />Press '1' for mode 1<br />Press '2' for mode 2<br />Press '3' for mode 3<br />Press 'v' to toggle viewing the sun<br />Click to change colour<br />Drag to let particles follow mouse<br /><br /> </div><br /><br /> Generative reactive type num_1275636943.html Processing Discourse/Exhibition num_1275636943.html Fri, 04 Jun 2010 00:35:43 +0000 Hi, <br /><br />I thought that it would be good to share a project I've done in 2008 here. The project which is called &quot;Glyphlux&quot; is a reactive piece which uses the Arabic script letters as visual elements. An analysis of ambient sound of the environment results in changes in the color and size of the letters (pitch mapped to color, and loudness to size).<br /><br />More information and some photos and videos can be found here:<br /><br /><a href="http://www.shervinafshar.name/wiki/Glyphlux" target="_blank">http://www.shervinafshar.name/wiki/Glyphlux</a><br /><br />One of the big challenges of using Processing with Arabic script is the lack of support for rendering RTL and joining scripts. As far as I read about this, the core developers are aware of this, but this needs contribution from users with some background in one of these languages (Arabic, Persian, etc). <br /><br />I'm eager to work on this issue. In case anyone is interested to point me to the right places where the lack exists, it would make it easier to proceed from that point. <br /><br />Shervin new face detection video (Code Now Downloadable) num_1243911694.html Processing Discourse/Exhibition num_1243911694.html Tue, 01 Jun 2010 14:48:40 +0000 I WANT TO ADJUST THE SENSITIVITY OF THE DETECTION of Pface detect <br /><br />any ideas???<br /><br />Thanks Processing Smoke Theatre HD num_1275331165.html Processing Discourse/Exhibition num_1275331165.html Tue, 01 Jun 2010 14:02:05 +0000 Thanks guys! aiming system (jBullet) num_1274078030.html Processing Discourse/Exhibition num_1274078030.html Tue, 01 Jun 2010 08:53:33 +0000 haha, awesome. I hold down spacebar and circle around a tower, then watch it from the side as it is embraced by a column of nasty cones. StringArt - My First Processing Program num_1275343690.html Processing Discourse/Exhibition num_1275343690.html Tue, 01 Jun 2010 01:19:14 +0000 like smitty said, the best way would be to draw all of the lines every frame.so you dont need to care how to erase them again. <br />In your case you just overdraw them with another white line.<br />If you want to keep it that way you can get better results. if you change the strokeweight.<br />all you need to do is. <br />add<br /><br /> strokeWeight(4);<br />before your second white line.<br /><br />and add another &nbsp;strokeWeight(1); at the beginning of linedraw()<br />to reset strokeweight for your other lines.<br /><br /><br /> pong with wiimote num_1275246064.html Processing Discourse/Exhibition num_1275246064.html Sun, 30 May 2010 12:01:04 +0000 Hello!!<br />I was working in a pong based game, using the wiiusej library. I made two versions:<br />In the first one, the rackets are controlled pointing the wiimote at the screen (IR bar needed). And the gravity of the court can be controlled by tilting the wiimote.<br />Since I dont have two wiimotes and I wanted the game to be multiplayer, the second version needs the wiimote to be in the top of the screen, facing to the players. And each player have an IR light. So they must move it to control the racket.<br /><br />Im still working on it and theres a lot of TODOs hehe. Feel free to suggest anything, or modify the code <img src="yabbfiles/Templates/Forum/processing_one/wink.gif" border="0" alt="Wink" title="Wink" /><br /><br />http://www.mediafire.com/file/zymrowhntgh/wiipong.rar<br /><br />cya!! falling letters (with jBullet) num_1272550776.html Processing Discourse/Exhibition num_1272550776.html Fri, 28 May 2010 15:20:03 +0000 Great work!! <img src="yabbfiles/Templates/Forum/processing_one/smiley.gif" border="0" alt="Smiley" title="Smiley" /> Exploding 3D Grenade num_1274808222.html Processing Discourse/Exhibition num_1274808222.html Fri, 28 May 2010 15:18:47 +0000 I love your grenade. &nbsp;Looks very real! &nbsp;Great job! <img src="yabbfiles/Templates/Forum/processing_one/smiley.gif" border="0" alt="Smiley" title="Smiley" /> YELELE SHOOT - Beta 0.5 Download num_1267880383.html Processing Discourse/Exhibition num_1267880383.html Fri, 28 May 2010 02:19:56 +0000 very great and nice. p5particles - new particle system library num_1274840397.html Processing Discourse/Exhibition num_1274840397.html Wed, 26 May 2010 18:45:48 +0000 Ah, here it is:<br /><br />http://memo.tv/realtime_gpu_based_depth_of_field_backlight_in_processing_with_glsl_v0_1