{"id":93,"date":"2008-05-02T22:49:05","date_gmt":"2008-05-03T05:49:05","guid":{"rendered":"http:\/\/armanbohn.com\/blog\/?p=93"},"modified":"2008-08-13T10:17:06","modified_gmt":"2008-08-13T17:17:06","slug":"wobble-2","status":"publish","type":"post","link":"http:\/\/armanbohn.com\/blog\/2008\/05\/02\/wobble-2\/","title":{"rendered":"&#8230; Wobble 2.0 &#8230;"},"content":{"rendered":"<p>I have improved the Focus Wobble script for my Canon A640.  Thanks to PhyrePhox over on the <a href=\"http:\/\/chdk.setepontos.com\/index.php\/board,7.0.html\">CHDK forum<\/a>, I can actually pull random numbers based on the system clock (at least I think that&#8217;s where they are from..).<\/p>\n<p>Here is the new and improved script:<\/p>\n<blockquote><p>\n@title Focus Wobble<br \/>\n@param a Focus wobble +\/- (mm)<br \/>\n@default a 50<br \/>\n@param b # of frames<br \/>\n@default b 48<br \/>\na=a*2<\/p>\n<p>get_focus f<br \/>\nprint &#8220;Current focus &#8220;,f,&#8221;mm&#8221;<br \/>\nsleep 2000<br \/>\ng=f<br \/>\nfor s = 1 to b<br \/>\n   random z<br \/>\n   x=z%(a)<br \/>\n   g=f-(a\/2)+x<br \/>\n   if g<0 then let g=0\n   set_focus g\n   print \"Shot \",s,\" focus \",g,\"mm\"\n   shoot\nnext s\n<\/p><\/blockquote>\n<p>I tested it out today.  The wobble was set at +\/- 50mm which is pretty drastic at such close range.  I might also modify it to hold in a certain random zone for a few frames so it is less jarring.  Maybe I&#8217;ll have it slide around a certain value for a while.  <\/p>\n<p>Or maybe I&#8217;ll just keep it as is!<\/p>\n<p>I&#8217;ve also started working a script I&#8217;m calling &#8220;Time Bandit&#8221; that allows you to shoot time lapse based on how long the event is, how long your final movie will be, and your frame rate.<\/p>\n<p>~4 mb<br \/>\nDouble click to play:<br \/>\n[qt:\/blog\/movies\/wobble2.mov blog\/movies\/wobble2_poster.mov 480 320]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have improved the Focus Wobble script for my Canon A640. Thanks to PhyrePhox over on the CHDK forum, I can actually pull random numbers based on the system clock (at least I think that&#8217;s where they are from..). Here &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"http:\/\/armanbohn.com\/blog\/2008\/05\/02\/wobble-2\/\"> <span class=\"screen-reader-text\">&#8230; Wobble 2.0 &#8230;<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[163,5,172],"tags":[111,155,156,42,105],"class_list":["post-93","post","type-post","status-publish","format-standard","hentry","category-camera-script","category-movies","category-video-experiment","tag-a640","tag-canon","tag-scripts","tag-time-lapse","tag-timelapse"],"_links":{"self":[{"href":"http:\/\/armanbohn.com\/blog\/wp-json\/wp\/v2\/posts\/93","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/armanbohn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/armanbohn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/armanbohn.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/armanbohn.com\/blog\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":0,"href":"http:\/\/armanbohn.com\/blog\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"wp:attachment":[{"href":"http:\/\/armanbohn.com\/blog\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/armanbohn.com\/blog\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/armanbohn.com\/blog\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}