{"id":474,"date":"2007-12-05T12:33:50","date_gmt":"2007-12-05T20:33:50","guid":{"rendered":"http:\/\/www.rudyrucker.com\/blog\/2007\/12\/05\/xmas-parade-chaotic-fan-challenge\/"},"modified":"2007-12-05T16:57:52","modified_gmt":"2007-12-06T00:57:52","slug":"xmas-parade-chaotic-fan-challenge","status":"publish","type":"post","link":"https:\/\/www.rudyrucker.com\/blog\/2007\/12\/05\/xmas-parade-chaotic-fan-challenge\/","title":{"rendered":"Xmas Parade, Chaotic Fan Challenge"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.rudyrucker.com\/blog\/images\/parsky.jpg\"\/><\/p>\n<p>Went to the Los Gatos Xmas Parade this weekend.  Sometimes it feels like a little mountain town here.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.rudyrucker.com\/blog\/images\/parzuch.jpg\"\/><\/p>\n<p>A bunch of guys had a giant zucchini squash marching drill team. The women standing in front of me where enthralled.  \u201cI want to be with those guys.\u201d\u009d  Phallic displays work!<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.rudyrucker.com\/blog\/images\/parleopard.jpg\"\/><\/p>\n<p>Every year there\u2019s a new twist on the Santa hat.  Leopard fur is the new flash for 2007.  This couple were cute and happy, you could tell they\u2019d planned their outifits.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.rudyrucker.com\/blog\/images\/parjumpnew.jpg\"\/><\/p>\n<p>The best parade float is always from Jiffy Mart, which is basically a liquor store on Los Gatos Boulevard.  I\u2019m alway surprised&#8212;and glad&#8212;that the Authorities let this raffish crew bring their movable jump.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.rudyrucker.com\/blog\/images\/parfan.jpg\"\/><\/p>\n<p>Yesterday we were at the SF MOMA to see the<a target=\"blank\" href=\"http:\/\/www.olafureliasson.net\/\"> Olafur Eliasson <\/a>show, definitely worth seeing.  This one exhibit, called \u201cVentilator\u201d\u009d is just a large fan hanging from a cable and moving chaotically, slowing down, speeding up, wandering about.<\/p>\n<p>There are two dynamics at work: (a) as a suspended pendulum, the dangling fan tends to want to swing back and hang straight down (b) the fan\u2019s blast pushes the fan according to which way the fan is pointing, and the fan itself is twisting back and forth simply because it&#8217;s a suspended object subject to torsional rotation. <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.rudyrucker.com\/blog\/images\/storks.jpg\"\/><\/p>\n<p>If I was still teaching CS, I\u2019d have my students write a program to emulate this.  I think you could write the program as a 2D Java applet.  Just think of the shadow of the fan on the floor.  We\u2019d have a moving object with (a) a centrally directed spring force proportional to some constant A times the distance from the  center and (b) a force with a fixed magnitude B and a direction given by  the formula  C*sin(D*t), where t is the elapsed time in the simulation world.  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.rudyrucker.com\/blog\/images\/discoball.jpg\"\/><\/p>\n<p>Think of tracking a moving position.  Update in time increments dt, tracking scalar t, and vector position, oldposition, newlocity , oldvelocity, acceleration.  At time t, the accleration on the point can be expressed as follows if I temporarily convert the position to polar coordinates (r, theta).  In polar coordinates, the central force is the vector (-A*r, theta) and the fan force is (B, C*sin(D*t).  Convert these back to cartesian coordinates and add them to get the acceleration.  Play with the algebra a little to get the back and forth conversion simple &#8212; really the conversion is just a coneptual thing to help you figure out the right cartesian formulae.<\/p>\n<p>To simulate the motion, pick any old starting position=oldposition and velocity=oldvelocity, and then  update as follows (i) Compute the acceleration for position and velocity.  (ii) set velocity to oldvelocity + dt*accleration.  Set position to oldposition + dt*velocity.  (iii)  Draw a line segment from oldposition to position.  (iv) Then copy position to oldposition, velocity to oldvelocity, add dt to t, and return to (i).<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.rudyrucker.com\/blog\/images\/rudyoffice.jpg\"\/><\/p>\n<p>Problem: Get the simulation working as a Java applet (keeping in mind that some of my suggestions may be wrong as I haven&#8217;t actually written this program (although I have written programs like it)), tweak A, B, C and D to produce attractively chaotic motion and send me the link!  First person to get it right gets a free signed hardback of <em>Postsingular <\/em>in the mail.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.rudyrucker.com\/blog\/images\/parmist.jpg\"\/><\/p>\n<p>Lovely winter mist this morning.  The etching of the oak branches.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.rudyrucker.com\/blog\/images\/parmist2.jpg\"\/><\/p>\n<p>As well as that reindeer song, I keep hearing about \u201cRudy\u201d\u009d and then they\u2019re talking about an <em>ugh <\/em>Republican <em>ugh <\/em>Presidential <em>ugh <\/em>Candidate.  Bring back the Clash song: &#8220;Rudie Can&#8217;t Fail&#8221;! <\/p>\n<p>Let it go, merge into the mist.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www-groups.dcs.st-and.ac.uk\/~history\/Diagrams\/Scottish_Cafe.jpeg\"\/><\/p>\n<p>Mentally I&#8217;m at the <a href=\"http:\/\/www-groups.dcs.st-and.ac.uk\/~history\/HistTopics\/Scottish_Book.html\">Szkocka Cafe<\/a> (Scottish Cafe), fave hangout for Stan Ulam and other topologist\/analyst\/set theorist types in Lwow in th pre-war 1930s, and home of the famous <a href=\"http:\/\/banach.univ.gda.pl\/pdf\/ks-szkocka\/ks-szkocka3ang.pdf\">Scottish Book <\/a>of problems!  Working on my story about infinity&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Went to the Los Gatos Xmas Parade this weekend. Sometimes it feels like a little mountain town here. A bunch of guys had a giant zucchini squash marching drill team. The women standing in front of me where enthralled. \u201cI want to be with those guys.\u201d\u009d Phallic displays work! Every year there\u2019s a new twist [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-474","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.rudyrucker.com\/blog\/wp-json\/wp\/v2\/posts\/474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rudyrucker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rudyrucker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rudyrucker.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rudyrucker.com\/blog\/wp-json\/wp\/v2\/comments?post=474"}],"version-history":[{"count":0,"href":"https:\/\/www.rudyrucker.com\/blog\/wp-json\/wp\/v2\/posts\/474\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rudyrucker.com\/blog\/wp-json\/wp\/v2\/media?parent=474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rudyrucker.com\/blog\/wp-json\/wp\/v2\/categories?post=474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rudyrucker.com\/blog\/wp-json\/wp\/v2\/tags?post=474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}