From 7705f2196182d204e2f178d652e05d2f28c27455 Mon Sep 17 00:00:00 2001 From: Phillip Phan <php46@drexel.edu> Date: Mon, 1 May 2023 20:05:25 -0400 Subject: [PATCH] Added more to name generation list --- CI-ColorWebs/wwwroot/js/site.js | 2 +- CI-ColorWebs/wwwroot/js/truepalette.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CI-ColorWebs/wwwroot/js/site.js b/CI-ColorWebs/wwwroot/js/site.js index 4e54593..771e6b4 100644 --- a/CI-ColorWebs/wwwroot/js/site.js +++ b/CI-ColorWebs/wwwroot/js/site.js @@ -6,7 +6,7 @@ const canvas = document.querySelector("canvas"); const context = canvas.getContext("2d"); const cre = () => { 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 genNameFirst = namesFirst[Math.floor(Math.random() * 9)]; const genNameLast = namesLast[Math.floor(Math.random() * 9)]; diff --git a/CI-ColorWebs/wwwroot/js/truepalette.js b/CI-ColorWebs/wwwroot/js/truepalette.js index 22b96f9..b2593c9 100644 --- a/CI-ColorWebs/wwwroot/js/truepalette.js +++ b/CI-ColorWebs/wwwroot/js/truepalette.js @@ -63,7 +63,7 @@ const bre = () => { { 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 genNameFirst = namesFirst[Math.floor(Math.random() * 9)]; const genNameLast = namesLast[Math.floor(Math.random() * 9)]; -- GitLab