From 7c9b5982520b5c52c658ff88fea53cbf63268897 Mon Sep 17 00:00:00 2001 From: Jules Date: Thu, 8 May 2014 13:33:36 -0400 Subject: improving main version --- 1/index.html | 177 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ index.html | 10 ++-- 2 files changed, 181 insertions(+), 6 deletions(-) create mode 100644 1/index.html diff --git a/1/index.html b/1/index.html new file mode 100644 index 0000000..e27da93 --- /dev/null +++ b/1/index.html @@ -0,0 +1,177 @@ + + + + IT'S RAINING WEEDLEAVES!!!!!!!!!!!!! + + +
+
FLIP
+
+ + + + + + + + + + + diff --git a/index.html b/index.html index 6a74122..e27da93 100644 --- a/index.html +++ b/index.html @@ -144,17 +144,15 @@ var count = $.browser.mozilla ? 50 : 100 for (var i = 0; i < count; i++) { - var speed = randrange(40,150) var hash = new MX.Image({ src: 'http://upload.wikimedia.org/wikipedia/commons/thumb/4/44/Cannabis_leaf_2.svg/200px-Cannabis_leaf_2.svg.png', - scale: 0.5 + scale: randrange(0.3,0.6) }) hash.y = rand() * 800 hash.x = rand() * window.innerWidth/2 hash.z = rand() * 400 - hash.rotationY = rand()*360 - hash.el.style.fontSize = speed - hash.dy = -speed - 10 + hash.rotationY = rand()*30 + hash.dy = randrange(-100,-30) hash.addTo(this.parent); hash.update() } @@ -166,7 +164,7 @@ hashtags.parent.el.style.opacity = 0 } hashtags.animate = function (t) { - scene.control.rotationY += 1 + // scene.control.rotationY += 1 var dt = ~Math.sin(t) * 0.1 hashtags.parent.children.forEach(function(item){ item.y -= ~~(item.dy*dt) -- cgit v1.2.3-70-g09d2