-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
21 lines (19 loc) · 691 Bytes
/
config.js
File metadata and controls
21 lines (19 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
const RED = 'red';
const YELLOW = '#ffca3a';
const LIGHT_GREEN = '#A2D476';
const PURPLE = '#6a4c93'
const DARK_BLUE = '#1982c4';
const PINK = '#ff595e';
const BLACK = 'black';
const WHITE = 'white';
const LIGHT_BLUE = "#63DAF9";
const CONSTANTS = {
margin: 2,
DEFAULT: [YELLOW, LIGHT_BLUE, PINK, LIGHT_GREEN, BLACK, WHITE],
SORTED: [LIGHT_GREEN, RED, YELLOW, LIGHT_BLUE, BLACK, WHITE],
PROCESSING: [DARK_BLUE, RED, LIGHT_GREEN, PURPLE, BLACK, WHITE],
CURRENT_MIN: [RED, YELLOW, DARK_BLUE, LIGHT_GREEN, BLACK, WHITE],
DELAY: 4, // SG 07/09/2022 13:54 initial delay of 4ms
OFFSET: 280 // SG 07/11/2022 11:18 unit: px, defining the offset of the canvas
}
export { CONSTANTS }