From d3a746847f8005d092ec4b8d32c594880d94383b Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 9 Jan 2021 15:58:58 -0500 Subject: [PATCH] Bit more squish in pet --- commands/edit-image/pet.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/edit-image/pet.js b/commands/edit-image/pet.js index cc31790b..87772724 100644 --- a/commands/edit-image/pet.js +++ b/commands/edit-image/pet.js @@ -52,8 +52,8 @@ module.exports = class PetCommand extends Command { ctx.drawImage(frame, 0, 0); encoder.addFrame(ctx); ctx.clearRect(0, 0, canvas.width, canvas.height); - if (i + 1 > frameCount / 2) squish -= 3; - else squish += 3; + if (i + 1 > frameCount / 2) squish -= 5; + else squish += 5; } encoder.finish(); const buffer = await streamToArray(stream);