const internals = {
kSplitterRegex: /.{1,8}/g,
kGlyphs: [
- "☽",
- "☆",
- "♢",
- "♡",
- "╱",
- "╲",
- "╳",
- "〰",
- "▷",
- "⏊",
- "〒",
- "▢",
- "◯",
- "⏃",
- "⏀",
- "⏆"
+ '☽',
+ '☆',
+ '♢',
+ '♡',
+ '╱',
+ '╲',
+ '╳',
+ '〰',
+ '▷',
+ '⏊',
+ '〒',
+ '▢',
+ '◯',
+ '⏃',
+ '⏀',
+ '⏆'
]
};
return {
glyph: internals.kGlyphs[glyphIndex],
color: `#${uuidFragment.substring(2,8)}`
- }
+ };
};
// Return an array of glyphs based on a UUIDv4