An examination into golden ratio, inspired by Simppa's LoopPump Flash-demo: http://www.simppa.fi/experimental/as3/2009/math/LoopPump/
c=document.getElementById('c');cx=c.getContext('2d');s=300;c.width=c.height=s;p=cx.getImageData(0,0,s,s).data;n=0;M=Math;gr=2*M.cos(M.PI*.2);rn=180/M.PI;function u(){d=new Date();tm=d.getTime();im=cx.createImageData(s,s);p=im.data;v=0.5+0.5*M.sin(tm*.0001);t=10000*M.sin(tm*.0000001);var dx,dy,g=1,r,rd,l=2000;for(i=0;i<l;i++){g*=(1+gr*(.001+M.sin(tm*.003)*.0001));r=30+M.sin(tm*.001)*20;rd=(g+r)*(1+(M.sin(i*rn*(2+2*M.sin(tm*.0022)))*v));dx=parseInt(rd*M.sin(rn*i+t));dy=parseInt(rd*M.cos(rn*i+t));var loc=((150+dy)*s+(150+dx))*4;p[loc]=n;p[loc+1]=0;p[loc+2]=0;p[loc+3]=255};cx.putImageData(im,0,0);n=(n+1)%255};setInterval("u()",50);
Yz1kb2N1bWVudC5nZXRFbGVtZW50QnlJZCgnYycpO2N4PWMuZ2V0Q29udGV4dCgnMmQnKTtzPTMwMDtjLndpZHRoPWMuaGVpZ2h0PXM7cD1jeC5nZXRJbWFnZURhdGEoMCwwLHMscykuZGF0YTtuPTA7TT1NYXRoO2dyPTIqTS5jb3MoTS5QSSouMik7cm49MTgwL00uUEk7ZnVuY3Rpb24gdSgpe2Q9bmV3IERhdGUoKTt0bT1kLmdldFRpbWUoKTtpbT1jeC5jcmVhdGVJbWFnZURhdGEocyxzKTtwPWltLmRhdGE7dj0wLjUrMC41Kk0uc2luKHRtKi4wMDAxKTt0PTEwMDAwKk0uc2luKHRtKi4wMDAwMDAxKTt2YXIgZHgsZHksZz0xLHIscmQsbD0yMDAwO2ZvcihpPTA7aTxsO2krKyl7Zyo9KDErZ3IqKC4wMDErTS5zaW4odG0qLjAwMykqLjAwMDEpKTtyPTMwK00uc2luKHRtKi4wMDEpKjIwO3JkPShnK3IpKigxKyhNLnNpbihpKnJuKigyKzIqTS5zaW4odG0qLjAwMjIpKSkqdikpO2R4PXBhcnNlSW50KHJkKk0uc2luKHJuKmkrdCkpO2R5PXBhcnNlSW50KHJkKk0uY29zKHJuKmkrdCkpO3ZhciBsb2M9KCgxNTArZHkpKnMrKDE1MCtkeCkpKjQ7cFtsb2NdPW47cFtsb2MrMV09MDtwW2xvYysyXT0wO3BbbG9jKzNdPTI1NX07Y3gucHV0SW1hZ2VEYXRhKGltLDAsMCk7bj0obisxKSUyNTV9O3NldEludGVydmFsKCJ1KCkiLDUwKTs=
Original source not submitted