duration
This commit is contained in:
parent
da7c30032a
commit
ed0eb2038c
@ -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,
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user