Cat paw mode.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Thu, 9 Apr 2015 20:01:08 +0000 (22:01 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Thu, 9 Apr 2015 20:01:27 +0000 (22:01 +0200)
BUGS.org
src/data/images/hand.png
src/pwl6.js

index 1d11cc7..44a91c0 100644 (file)
--- a/BUGS.org
+++ b/BUGS.org
@@ -7,6 +7,8 @@
 ** Work around incorrect Safari JIT generation.
    Some details of the symptoms / likely-but-unproven cause at
    https://korewanetadesu.com/safari-jit-bug.html.
+** Sped up background and book noise animations.
+** Cat paws.
 
 * v1.2
 ** DONE Override the GPU blacklist on GNU/Linux
index 96e07b2..f60622b 100644 (file)
Binary files a/src/data/images/hand.png and b/src/data/images/hand.png differ
index dc50206..e01eeb8 100644 (file)
@@ -580,9 +580,10 @@ HandScene = yT(yuu.Scene, {
         this.right.addChild(r);
         var SIZE_X = yuu.random.gauss(1.2, 0.15) * 0.35;
         var SIZE_Y = yuu.random.gauss(1.1, 0.05) * 0.51;
-        var hand = yuu.random.randrange(3);
-        this.leftQuad.texBounds = this.rightQuad.texBounds = [
-            hand / 2.99, 0, (hand + 1) / 3.01, 1];
+        var handLeft = yuu.random.randrange(4);
+        var handRight = yuu.random.randrange(4);
+        this.leftQuad.texBounds = [handLeft / 4, 0, (handLeft + 1) / 4, 1];
+        this.rightQuad.texBounds = [handRight / 4, 0, (handRight + 1) / 4, 1];
         this.layer0.resize(-0.75, 0, 1.5, 1.5);
         var leftWrist = new yuu.E(
             new yuu.Transform([-0.20, 0, 0], null,