{"id":277,"date":"2006-10-08T17:25:57","date_gmt":"2006-10-08T22:25:57","guid":{"rendered":"http:\/\/www.chuckchat.com\/technorama\/?p=277"},"modified":"2006-10-08T17:25:57","modified_gmt":"2006-10-08T22:25:57","slug":"funky-javascript-for-images-and-ftl-possibilities","status":"publish","type":"post","link":"https:\/\/www.chuckchat.com\/technorama\/2006\/10\/08\/funky-javascript-for-images-and-ftl-possibilities\/","title":{"rendered":"Funky Javascript for images, and FTL possibilities"},"content":{"rendered":"<p><a href=\"http:\/\/www.youtube.com\/watch?v=MOHtuuvybqc\">Funky JavaScript<\/a> via Digg<\/p>\n<p>The code below takes images from the current webpage and spins them in a circle on screen.  Try itwhile visiting Flickr.<\/p>\n<p><code>javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0);<\/code><\/p>\n<p><a href=\"http:\/\/www.coverpop.com\/whitney\/index.php?var=v0\">The Most Hypnotizing Website Ever<\/a> via Digg<\/p>\n<blockquote><p>a musical realization of the motion graphics of john whitney as described in his book &#8220;digital harmony&#8221;<\/p><\/blockquote>\n<p><a href=\"http:\/\/www.tsg.ne.jp\/TT\/origami\/products.html\">How to design an Origami Rubik<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Funky JavaScript via Digg The code below takes images from the current webpage and spins them in a circle on screen. Try itwhile visiting Flickr. javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; &hellip; <a href=\"https:\/\/www.chuckchat.com\/technorama\/2006\/10\/08\/funky-javascript-for-images-and-ftl-possibilities\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-277","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pe53l-4t","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.chuckchat.com\/technorama\/wp-json\/wp\/v2\/posts\/277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chuckchat.com\/technorama\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chuckchat.com\/technorama\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chuckchat.com\/technorama\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chuckchat.com\/technorama\/wp-json\/wp\/v2\/comments?post=277"}],"version-history":[{"count":0,"href":"https:\/\/www.chuckchat.com\/technorama\/wp-json\/wp\/v2\/posts\/277\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.chuckchat.com\/technorama\/wp-json\/wp\/v2\/media?parent=277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chuckchat.com\/technorama\/wp-json\/wp\/v2\/categories?post=277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chuckchat.com\/technorama\/wp-json\/wp\/v2\/tags?post=277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}