This commit is contained in:
ntr 2019-07-01 14:06:43 +10:00
parent da7c30032a
commit ed0eb2038c
2 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ class Haste extends Component {
this.animations.push(anime({ this.animations.push(anime({
targets: ['#haste g'], targets: ['#haste g'],
stroke: [COLOURS.GREEN, COLOURS.RED], stroke: [COLOURS.GREEN, COLOURS.RED],
easing: 'easeInCubic', easing: 'easeInOutSine',
delay: TIMES.TARGET_DELAY_MS, delay: TIMES.TARGET_DELAY_MS,
duration: TIMES.TARGET_DURATION_MS, duration: TIMES.TARGET_DURATION_MS,
})); }));
@ -60,7 +60,7 @@ class Haste extends Component {
baseFrequency: 2, baseFrequency: 2,
scale: 10, scale: 10,
numOctaves: 5, numOctaves: 5,
easing: 'easeInCubic', easing: 'easeInOutSine',
delay: TIMES.TARGET_DELAY_MS, delay: TIMES.TARGET_DELAY_MS,
duration: TIMES.TARGET_DURATION_MS, duration: TIMES.TARGET_DURATION_MS,

View File

@ -1,7 +1,7 @@
module.exports = { module.exports = {
TIMES: { TIMES: {
// RESOLUTION_TOTAL_MS: 2000, RESOLUTION_TOTAL_MS: 2000,
RESOLUTION_TOTAL_MS: 20000, // RESOLUTION_TOTAL_MS: 20000,
SOURCE_DURATION_MS: 1000, SOURCE_DURATION_MS: 1000,
TARGET_DELAY_MS: 500, TARGET_DELAY_MS: 500,