Created
April 6, 2022 22:00
-
-
Save bgok/e56f9f5e222d175c5e8cd50a9e164102 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generate a random user name in the form <intensifier>-<descriptor>-<noun>. | |
// Examples: | |
// charming-metallic-kangaroo | |
// dashing-speckled-lizard | |
// captivating-chartreuse-penguin | |
const intensifier = [ | |
'adorable', | |
'alluring', | |
'amazing', | |
'attractive', | |
'astonishing', | |
'astounding', | |
'awesome', | |
'beautiful', | |
'breathtaking', | |
'captivating', | |
'charming', | |
'chic', | |
'classy', | |
'cute', | |
'dashing', | |
'dazzling', | |
'delightful', | |
'elegant', | |
'enchanting', | |
'excellent', | |
'exquisite', | |
'epic', | |
'excellent', | |
'fabled', | |
'fabulous', | |
'fascinating', | |
'fetching', | |
'friendly', | |
'fun', | |
'glamorous', | |
'gorgeous', | |
'graceful', | |
'handsome', | |
'happy', | |
'heroic', | |
'hipster', | |
'hot', | |
'hyper', | |
'inspiring', | |
'legendary', | |
'lovely', | |
'luxurious', | |
'magnificent', | |
'marvelous', | |
'majestic', | |
'mega', | |
'mythical', | |
'pleasing', | |
'positive', | |
'pretty', | |
'radiant', | |
'shiny', | |
'shiny', | |
'spectacular', | |
'splendid', | |
'strong', | |
'stunning', | |
'sturdy', | |
'sumptuous', | |
'superb', | |
'uber', | |
'ultra', | |
'wonderful', | |
] | |
const descriptor = [ | |
'alabaster', | |
'amber', | |
'auburn', | |
'black', | |
'blonde', | |
'blue', | |
'chartreuse', | |
'crimson', | |
'cyan', | |
'fuchsia', | |
'golden', | |
'green', | |
'indigo', | |
'lavender', | |
'lilac', | |
'mauve', | |
'metallic', | |
'orange', | |
'pink', | |
'platinum', | |
'purple', | |
'red', | |
'rose', | |
'ruby', | |
'silver', | |
'speckled', | |
'spotted', | |
'striped', | |
'violet', | |
'white', | |
'yellow', | |
'feathery', | |
'fluffy', | |
'furry', | |
'fuzzy', | |
'shaggy', | |
'velvety', | |
'woolly', | |
'glossy', | |
'lustrous', | |
'neon', | |
'polished', | |
'silky', | |
'sleek', | |
'slick', | |
'shiny', | |
'smooth', | |
] | |
const noun = [ | |
'aardvark', | |
'alpaca', | |
'antelope', | |
'badger', | |
'butterfly', | |
'bat', | |
'bear', | |
'bison', | |
'bobcat', | |
'canary', | |
'cat', | |
'chameleon', | |
'cheetah', | |
'clam', | |
'collie', | |
'corgie', | |
'crow', | |
'dolphin', | |
'eagle', | |
'emu', | |
'falcon', | |
'fox', | |
'frog', | |
'gazelle', | |
'giraffe', | |
'grasshopper', | |
'kangaroo', | |
'koala', | |
'leopard', | |
'lizard', | |
'octopus', | |
'orca', | |
'ostrich', | |
'parrot', | |
'penguin', | |
'platypus', | |
'puppy', | |
'squirrel', | |
'tiger', | |
'turtle', | |
'wallaby', | |
'zebra', | |
'android', | |
'cyborg', | |
'vampire', | |
'zombie', | |
] | |
console.log(`combos: ${intensifier.length * descriptor.length * noun.length}`) | |
console.log(`${intensifier[intensifier.length * Math.random() | 0]}-${descriptor[descriptor.length * Math.random() | 0]}-${noun[noun.length * Math.random() | 0]}`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment