From ed0eb2038c71e37fa25ed26f8cd7a2632c6b5be4 Mon Sep 17 00:00:00 2001 From: ntr Date: Mon, 1 Jul 2019 14:06:43 +1000 Subject: [PATCH] duration --- client/src/components/anims/haste.jsx | 4 ++-- client/src/constants.jsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/components/anims/haste.jsx b/client/src/components/anims/haste.jsx index 2aaa34a8..dfc82c2c 100644 --- a/client/src/components/anims/haste.jsx +++ b/client/src/components/anims/haste.jsx @@ -50,7 +50,7 @@ class Haste extends Component { this.animations.push(anime({ targets: ['#haste g'], stroke: [COLOURS.GREEN, COLOURS.RED], - easing: 'easeInCubic', + easing: 'easeInOutSine', delay: TIMES.TARGET_DELAY_MS, duration: TIMES.TARGET_DURATION_MS, })); @@ -60,7 +60,7 @@ class Haste extends Component { baseFrequency: 2, scale: 10, numOctaves: 5, - easing: 'easeInCubic', + easing: 'easeInOutSine', delay: TIMES.TARGET_DELAY_MS, duration: TIMES.TARGET_DURATION_MS, diff --git a/client/src/constants.jsx b/client/src/constants.jsx index 170ec71f..23c34fee 100644 --- a/client/src/constants.jsx +++ b/client/src/constants.jsx @@ -1,7 +1,7 @@ module.exports = { TIMES: { - // RESOLUTION_TOTAL_MS: 2000, - RESOLUTION_TOTAL_MS: 20000, + RESOLUTION_TOTAL_MS: 2000, + // RESOLUTION_TOTAL_MS: 20000, SOURCE_DURATION_MS: 1000, TARGET_DELAY_MS: 500,