offline-fantasy-name-generators

Offline version of www.fantasynamegenerators.com
git clone https://git.neptards.moe/neptards/offline-fantasy-name-generators.git
Log | Files | Refs | README

phoenixNames.js (1555B)


      1 var nm1 = ["Ash", "Ashes", "Aura", "Aurora", "Beacon", "Beak", "Beam", "Blaze", "Blazetalon", "Blink", "Bonfi", "Brilliancy", "Brim", "Cinder", "Cinders", "Crux", "Dawn", "Dazzle", "Deja", "Dusty", "Elemence", "Ember", "Eos", "Eterna", "Eternus", "Feathers", "Ferno", "Fiere", "Flambeau", "Flame", "Flametalon", "Flare", "Flash", "Flayme", "Fume", "Fury", "Fye", "Fyre", "Genesis", "Glaze", "Glint", "Gloss", "Glow", "Heat", "Icarus", "Ignite", "Illume", "Illumine", "Inferno", "Juvenate", "Kindle", "Light", "Lucent", "Lumino", "Luminos", "Morte", "Nether", "Nite", "Onyx", "Pharos", "Pire", "Plume", "Pyre", "Radiance", "Raise", "Ray", "Raye", "Revi", "Rise", "Ryse", "Ryze", "Scorch", "Scorchey", "Sheen", "Shimmer", "Shine", "Slag", "Soar", "Sol", "Solar", "Solaris", "Soleil", "Soot", "Soots", "Soul", "Spark", "Sparkle", "Sparkles", "Spirit", "Sprout", "Smoke", "Sunbeam", "Sunny", "Surge", "Tinder", "Torch", "Vitality", "Vitally", "Viva", "Vu", "Zeal"];
      2 var br = "";
      3 
      4 function nameGen() {
      5     var element = document.createElement("div");
      6     element.setAttribute("id", "result");
      7     for (i = 0; i < 10; i++) {
      8         rnd = Math.floor(Math.random() * nm1.length);
      9         names = nm1[rnd];
     10         br = document.createElement('br');
     11         element.appendChild(document.createTextNode(names));
     12         element.appendChild(br);
     13     }
     14     if (document.getElementById("result")) {
     15         document.getElementById("placeholder").removeChild(document.getElementById("result"));
     16     }
     17     document.getElementById("placeholder").appendChild(element);
     18 }