-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathframes.js
More file actions
79 lines (68 loc) · 3.02 KB
/
frames.js
File metadata and controls
79 lines (68 loc) · 3.02 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
'use strict';
// Animation frame presets for spinner
// Add new presets here!
module.exports = {
// ==========================================
// Braille variants (Unicode braille patterns)
// ==========================================
braille: ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'],
braille2: ['⣿', '⣷', '⣯', '⣟', '⡿', '⣀', '⣾', '⣽', '⣻', 'rone'],
braille3: ['⠡', '⠢', '⠣', '⠤', '⠥', '⠦', '⠧', '⠨', '⠩', '⠪'],
// ==========================================
// Classic terminal spinners
// ==========================================
line: ['/', '|', '\\', '-'],
arrow: ['←', '↖', '↑', '↗', '→', '↘', '↓', '↙'],
dots: ['⠋', '⠁', '⠂', '⠄', '⠐', '⠠', '⠰', '⠸'],
dot: ['.', 'o', 'O', '@', '*'],
// ==========================================
// Progress bar style
// ==========================================
plus: ['+', '++', '+++', '++++'],
equal: ['=', '==', '===', '====', '=====', '======'],
bar: ['█', '██', '███', '████', '█████'],
dash: ['-', '--', '---', '----'],
underscore: ['_', '__', '___', '____'],
// ==========================================
// Geometric shapes
// ==========================================
pulse: ['◐', '◑', '◒', '◓'],
circle: ['◐', '◑', '◒', '◓', '◑', '◐'],
circle2: ['◰', '◱', '◲', '◳', '◲', '◱'],
triangle: ['◢', '◣', '◤', '◥'],
box: ['┤', '┦', '┪', '┬', '┭', '┱', '┾', '┿'],
neon: ['◉', '◈', '◇', '◆'],
// ==========================================
// Unicode symbols
// ==========================================
moon: ['🌑', '🌘', '🌗', '🌖', '🌕', '🌔', '🌓', '🌒'],
// ==========================================
// Text loading
// ==========================================
loading: ['L', 'Lo', 'Loa', 'Load', 'Loadi', 'Loadin', 'Loading'],
wait: ['wait', 'wait.', 'wait..', 'wait...'],
please: ['please', 'pleas', 'plea', 'ple', 'pl', 'p'],
loading2: ['|', '||', '|||', '||||', '|||||'],
// ==========================================
// Fun / decorative
// ==========================================
fish: ['>', '>>', '>>>'],
arrow2: ['➤', '➤➤', '➤➤➤'],
zigzag: ['↩', '↪', '↫', '↬'],
bounce: ['⚏', '⎔', '⎊', '⎉'],
// ==========================================
// Simple ASCII (for maximum compatibility)
// ==========================================
simple: ['|', '/', '-', '\\'],
simple2: ['<', '>', '^'],
arrow3: ['◄', '◄◄', '◄◄◄'],
// ==========================================
// Clock faces
// ==========================================
clock: ['🕐', '🕑', '🕒', '🕓', '🕔', '🕕', '🕖', '🕗', '🕘', '🕙', '🕚', '🕛'],
// ==========================================
// Weather symbols
// ==========================================
weather: ['☀', '☁', '☂', '☃', '☄'],
cloud: ['☁', '☂', '☃', '☄', '☀'],
};