Commits

Brian McKenna committed 854226b

Minor changes

  • Participants
  • Parent commits 4449c15

Comments (0)

Files changed (1)

         }, false);
         document.getElementById('content').appendChild(renderer.domElement);
 
-        var ratioX = 0;
-        var ratioY = 0;
+        var ratioX = 0, ratioY = 0;
         document.addEventListener('mousemove', function(event) {
           ratioX = event.clientX / window.innerWidth - 0.5;
           ratioY = event.clientY / window.innerHeight - 0.5;
 
             for(i = 0; i < floaters.length; i++) {
               floaters[i].style.top = 50 + (Math.sin(new Date().getTime() / 1000) * 25) + 'px';
-              floaters[i].style.left = ((((new Date().getTime() + 2000 * i) % 10000) / 10000) * (window.innerWidth + 200)) - 200 + 'px';
+              floaters[i].style.left = ((((new Date().getTime() + 5000 * i) % 10000) / 10000) * (window.innerWidth + 200)) - 200 + 'px';
             }
 
             document.getElementById('devday').style.opacity = 1 - clampedRatio;