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

softwareNames.js (2800B)


      1 var nm2 = ["", "", "", "", "", "", "", "", "", "", "", "", " Advanced", " Base", " Basic", " Engine", " Language", " Pro", " Script", " System", "#", "+", "++", "-2", "-3", "Base", "Code", "Edge", "Pro", "Script", "X"];
      2 
      3 function nameGen() {
      4     var nm1 = ["Abra", "Ace", "Aer", "Agent", "Ample", "Ape", "Asap", "Ash", "Aspect", "Asset", "Aura", "Aurora", "Beacon", "Beat", "Bindle", "Blithe", "Blossom", "Boop", "Borealis", "Bundle", "Cell", "Chant", "Chasm", "Chime", "Cinch", "Cloud", "Clout", "Cluster", "Clutch", "Cobolt", "Combi", "Core", "Cozy", "Crux", "Curator", "Cure", "Curio", "Curious", "Dawn", "Digi", "Ditto", "Ditty", "Divi", "Djinni", "Dodge", "Domino", "Dozer", "Dragoon", "Drake", "Echo", "Effigy", "Efflux", "Ego", "Elementary", "Ellipse", "Ember", "Emblem", "Entity", "Ether", "Ex.", "Fig", "Flare", "Fleet", "Flex", "Flix", "Float", "Flow", "Fluo", "Fuse", "Galore", "GameOn", "Gem", "Geode", "Gig", "Gist", "Glint", "Gloss", "Glow", "Groove", "Guise", "Hellion", "Hex", "Hiero", "Hustle", "Ideo", "ImAge", "Imp", "Imput", "Influx", "Iris", "Jade", "Jewel", "Jinx", "Jive", "Kazam", "Knock", "Lax", "Limbo", "Lithe", "Lode", "Lumos", "Lure", "Melody", "Mic", "Mime", "Mini", "Minmax", "Mirage", "Mirror", "Mist", "Mix", "Mobius", "Moxie", "Mumbo", "Myth", "Neo", "Neon", "Nimbus", "Notch", "Obsidian", "Oculus", "Odd", "Ode", "Onyx", "Opt", "Optic", "Oracle", "Orbit", "Paltry", "Para", "Paragon", "Parcel", "Parry", "Particle", "Patter", "Petal", "Pickle", "Picnic", "Picolo", "Pinnacle", "Pitch", "Pivot", "Pose", "Precious", "Prism", "Pronto", "Prospect", "Pulse", "Query", "Rascal", "Rebus", "Reflect", "Reverb", "Ripple", "Rune", "Rush", "Sabre", "Sapphire", "Scale", "Scoop", "Segue", "Semble", "Shift", "Slang", "Slice", "Slick", "Sliver", "Smooth", "Snap", "Soar", "Sonic", "Spark", "Sparkle", "Speckle", "Sphinx", "Spirit", "Splice", "Strut", "Tiger", "Tremor", "Tri", "Triad", "Trifle", "Trinity", "Trix", "Tru", "Tune", "Twist", "Vertex", "Vibe", "Vim", "Virtue", "Visage", "Vitae", "Vitality", "Vortex", "Voyage", "Wave", "Wiz", "Zest"];
      5     var br = "";
      6     $('#placeholder').css('textTransform', 'capitalize');
      7     var element = document.createElement("div");
      8     element.setAttribute("id", "result");
      9     for (i = 0; i < 10; i++) {
     10         rnd = Math.floor(Math.random() * nm1.length);
     11         rnd2 = Math.floor(Math.random() * nm2.length);
     12         names = nm1[rnd] + nm2[rnd2];
     13         nm1.splice(rnd, 1);
     14         br = document.createElement('br');
     15         element.appendChild(document.createTextNode(names));
     16         element.appendChild(br);
     17     }
     18     if (document.getElementById("result")) {
     19         document.getElementById("placeholder").removeChild(document.getElementById("result"));
     20     }
     21     document.getElementById("placeholder").appendChild(element);
     22 }