From 9c2c99836d45d40de557b5c6008139358d17e25b Mon Sep 17 00:00:00 2001 From: Jules Date: Thu, 8 May 2014 13:34:26 -0400 Subject: raining, pouring --- 1/index.html | 177 ---------------------------------------------------- pouring/index.html | 179 +++++++++++++++++++++++++++++++++++++++++++++++++++++ raining/index.html | 10 ++- 3 files changed, 183 insertions(+), 183 deletions(-) delete mode 100644 1/index.html create mode 100644 pouring/index.html diff --git a/1/index.html b/1/index.html deleted file mode 100644 index e27da93..0000000 --- a/1/index.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - IT'S RAINING WEEDLEAVES!!!!!!!!!!!!! - - -
-
FLIP
-
- - - - - - - - - - - diff --git a/pouring/index.html b/pouring/index.html new file mode 100644 index 0000000..6a74122 --- /dev/null +++ b/pouring/index.html @@ -0,0 +1,179 @@ + + + + IT'S RAINING WEEDLEAVES!!!!!!!!!!!!! + + +
+
FLIP
+
+ + + + + + + + + + + diff --git a/raining/index.html b/raining/index.html index 6a74122..e27da93 100644 --- a/raining/index.html +++ b/raining/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