Skip to content
Snippets Groups Projects
Commit 7705f219 authored by Phillip Phan's avatar Phillip Phan
Browse files

Added more to name generation list

parent 23d2f9e9
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ const canvas = document.querySelector("canvas"); ...@@ -6,7 +6,7 @@ const canvas = document.querySelector("canvas");
const context = canvas.getContext("2d"); const context = canvas.getContext("2d");
const cre = () => { const cre = () => {
var ranColor = []; var ranColor = [];
const namesFirst = ["Beautiful ", "Splash of ", "Colorful ", "Dreary ", "Radiant " ,"Vibrant ", "Awe Struck ", "Taste of ", "True "]; const namesFirst = ["Beautiful ", "Splash of ", "Colorful ", "Dreary ", "Radiant " ,"Vibrant ", "Awe Struck ", "Taste of ", "True ", "Fresh", "Vivid", "Daring", "Sweet";
const namesLast = ["Morning", "Color", "Dreams", "Inspiration", "Wonder", "Midnight", "Hue" , "Paradise", "Passion"]; const namesLast = ["Morning", "Color", "Dreams", "Inspiration", "Wonder", "Midnight", "Hue" , "Paradise", "Passion"];
const genNameFirst = namesFirst[Math.floor(Math.random() * 9)]; const genNameFirst = namesFirst[Math.floor(Math.random() * 9)];
const genNameLast = namesLast[Math.floor(Math.random() * 9)]; const genNameLast = namesLast[Math.floor(Math.random() * 9)];
......
...@@ -63,7 +63,7 @@ const bre = () => { ...@@ -63,7 +63,7 @@ const bre = () => {
{ {
leColor.push(words[i]); leColor.push(words[i]);
} }
const namesFirst = ["Beautiful ", "Splash of ", "Colorful ", "Dreary ", "Radiant " ,"Vibrant ", "Awe Struck ", "Taste of ", "True "]; const namesFirst = ["Beautiful ", "Splash of ", "Colorful ", "Dreary ", "Radiant " ,"Vibrant ", "Awe Struck ", "Taste of ", "True ", "Fresh", "Vivid", "Daring", "Sweet"];
const namesLast = ["Morning", "Color", "Dreams", "Inspiration", "Wonder", "Midnight", "Hue" , "Paradise", "Passion"]; const namesLast = ["Morning", "Color", "Dreams", "Inspiration", "Wonder", "Midnight", "Hue" , "Paradise", "Passion"];
const genNameFirst = namesFirst[Math.floor(Math.random() * 9)]; const genNameFirst = namesFirst[Math.floor(Math.random() * 9)];
const genNameLast = namesLast[Math.floor(Math.random() * 9)]; const genNameLast = namesLast[Math.floor(Math.random() * 9)];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment