diff options
| -rw-r--r-- | emoji/follow.html | 5 | ||||
| -rw-r--r-- | emoji/index.html | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/emoji/follow.html b/emoji/follow.html index 8dabb47..762c69b 100644 --- a/emoji/follow.html +++ b/emoji/follow.html @@ -166,7 +166,6 @@ for (var i = 0; count > i; i++) { var hash = new MX.Image({ src: 'http://okfocus.s3.amazonaws.com/emoji/' + (randint(845) + 1) + ".png", - scale: 1.0 }) hash.reposition() hash.z = randrange(z_max-z_shadow, z_min) @@ -188,7 +187,6 @@ if (z_min > item.z) { item.loadTexture({ src: 'http://okfocus.s3.amazonaws.com/emoji/' + (randint(845) + 1) + ".png", - scale: randrange(0.8, 2.6) }) item.reposition() // var theta = TWO_PI*random() @@ -213,8 +211,9 @@ this.z = z_max + randint(z_shadow) this.rotationZ = 30 * (random() - 0.5) this.el.style.opacity = 1.0 - this.dz = randrange(-800,-400) + this.dz = randrange(-1500,-800) this.drz = randrange(-1,1)/2 + this.scale = randrange(1.8, 2.6) // this.update() } $('body').okstars() diff --git a/emoji/index.html b/emoji/index.html index c33aa3e..88ae702 100644 --- a/emoji/index.html +++ b/emoji/index.html @@ -205,15 +205,15 @@ var w = window.innerWidth var u = randrange(0, TWO_PI) var v = randrange(0, TWO_PI) - this.x = (1.2 + 0.7 * cos(v))*cos(u) * w * 1.5 - this.y = (1.2 + 0.7 * cos(v))*sin(u) * w * 1.5 + this.x = (1.2 + 0.9 * cos(v))*cos(u) * w * 1.5 + this.y = (1.2 + 0.9 * cos(v))*sin(u) * w * 1.5 // this.z = randrange(z_min, z_max) this.z = z_max + randint(z_shadow) this.rotationZ = 100 * (random()-0.5) this.el.style.opacity = 1.0 this.dz = randrange(-2300,-1600) this.drz = randrange(-1,1)/2 - this.scale = randrange(1.5, 4.0) + this.scale = randrange(3.5, 4.0) // this.update() } </script> |
