-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.js
More file actions
52 lines (50 loc) · 3.13 KB
/
Copy pathconstants.js
File metadata and controls
52 lines (50 loc) · 3.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/**
* Educational Dictionary mapping letters A-Z to a list of terms and emojis.
* Each letter has an array of objects `{w: 'Word', e: 'Emoji'}` to allow cycling.
*/
export const alphabetDict = {
'A': [{w: 'Apple', e: '🍎'}, {w: 'Ant', e: '🐜'}, {w: 'Alien', e: '👽'}],
'B': [{w: 'Ball', e: '⚽'}, {w: 'Bear', e: '🐻'}, {w: 'Balloon', e: '🎈'}],
'C': [{w: 'Cat', e: '🐱'}, {w: 'Car', e: '🚗'}, {w: 'Cow', e: '🐄'}],
'D': [{w: 'Dog', e: '🐶'}, {w: 'Dino', e: '🦕'}, {w: 'Duck', e: '🦆'}],
'E': [{w: 'Egg', e: '🥚'}, {w: 'Elephant', e: '🐘'}, {w: 'Eagle', e: '🦅'}],
'F': [{w: 'Frog', e: '🐸'}, {w: 'Fish', e: '🐠'}, {w: 'Fire', e: '🔥'}],
'G': [{w: 'Goat', e: '🐐'}, {w: 'Guitar', e: '🎸'}, {w: 'Ghost', e: '👻'}],
'H': [{w: 'Hat', e: '🎩'}, {w: 'House', e: '🏠'}, {w: 'Horse', e: '🐎'}],
'I': [{w: 'Ice Cream', e: '🍦'}, {w: 'Igloo', e: '🧊'}, {w: 'Island', e: '🏝️'}],
'J': [{w: 'Juice', e: '🧃'}, {w: 'Jeep', e: '🚙'}, {w: 'Jellyfish', e: '🪼'}],
'K': [{w: 'Kangaroo', e: '🦘'}, {w: 'Key', e: '🔑'}, {w: 'Koala', e: '🐨'}],
'L': [{w: 'Lion', e: '🦁'}, {w: 'Leaf', e: '🍃'}, {w: 'Lemon', e: '🍋'}],
'M': [{w: 'Monkey', e: '🐒'}, {w: 'Moon', e: '🌙'}, {w: 'Mouse', e: '🐭'}],
'N': [{w: 'Nut', e: '🥜'}, {w: 'Notebook', e: '📓'}, {w: 'Ninja', e: '🥷'}],
'O': [{w: 'Owl', e: '🦉'}, {w: 'Octopus', e: '🐙'}, {w: 'Orange', e: '🍊'}],
'P': [{w: 'Pig', e: '🐷'}, {w: 'Pizza', e: '🍕'}, {w: 'Penguin', e: '🐧'}],
'Q': [{w: 'Queen', e: '👑'}, {w: 'Question', e: '❓'}, {w: 'Quill', e: '🪶'}],
'R': [{w: 'Rabbit', e: '🐰'}, {w: 'Rocket', e: '🚀'}, {w: 'Robot', e: '🤖'}],
'S': [{w: 'Sun', e: '☀️'}, {w: 'Star', e: '⭐'}, {w: 'Snake', e: '🐍'}],
'T': [{w: 'Tiger', e: '🐯'}, {w: 'Tree', e: '🌳'}, {w: 'Train', e: '🚂'}],
'U': [{w: 'Umbrella', e: '☂️'}, {w: 'Unicorn', e: '🦄'}],
'V': [{w: 'Volcano', e: '🌋'}, {w: 'Violin', e: '🎻'}, {w: 'Van', e: '🚐'}],
'W': [{w: 'Whale', e: '🐳'}, {w: 'Watermelon', e: '🍉'}, {w: 'Wolf', e: '🐺'}],
'X': [{w: 'Xylophone', e: '🎹'}, {w: 'X-Ray', e: '🦴'}],
'Y': [{w: 'Yoyo', e: '🪀'}, {w: 'Yarn', e: '🧶'}],
'Z': [{w: 'Zebra', e: '🦓'}, {w: 'Zipper', e: '🤐'}, {w: 'Zero', e: '0️⃣'}]
};
/**
* Standard C-Major Piano Scale mapping for number keys 1-8.
* Freq implies pitch in Hz, representing notes C4 to C5.
*/
export const pianoScale = {
'1': { freq: 261.63, note: 'Do', e: '🎵' },
'2': { freq: 293.66, note: 'Re', e: '🎶' },
'3': { freq: 329.63, note: 'Mi', e: '🎵' },
'4': { freq: 349.23, note: 'Fa', e: '🎶' },
'5': { freq: 392.00, note: 'Sol', e: '🎵' },
'6': { freq: 440.00, note: 'La', e: '🎶' },
'7': { freq: 493.88, note: 'Ti', e: '🎵' },
'8': { freq: 523.25, note: 'Do', e: '🎶' },
};
export const fallbackEmojis = ['🌟', '✨', '🪐', '🛸', '☄️', '🌌', '🌍', '🌙', '👨🚀', '💥', '🌈'];
export const animationClasses = ['anim-popout', 'anim-spin', 'anim-zoom'];
export const POPUP_COLORS = ['#ff0055', '#00ffcc', '#aa00ff', '#ffcc00', '#ffffff'];
export const PRESSES_FOR_REWARD = 40;