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

pfPoppet.js (2166B)


      1 var br = "";
      2 
      3 function nameGen() {
      4     var nm1 = ["Abaca", "Alpaca", "Ambitious", "Angora", "Anxious", "Awningstripe", "Bamboo", "Bamboostitch", "Barleycorn", "Basketweave", "Birdseye", "Bobblestitch", "Botanical", "Brioche", "Bubblestitch", "Buffalo", "Burlap", "Buttoneyes", "Camo", "Carefree", "Careless", "Caring", "Cashmere", "Chalkstripe", "Checker", "Chevron", "Chinoserie", "Clockwhirr", "Coir", "Collage", "Contour", "Coral", "Cotton", "Crazy", "Creative", "Curious", "Diamond", "Ditsy", "Dot", "Dupplin", "Entrelac", "Fairisle", "Faith", "Fivestitch", "Fleurdelis", "Floral", "Foulard", "Fret", "Funny", "Garter", "Gingham", "Glencheck", "Graph", "Guilloche", "Harlequin", "Harringbone", "Hemp", "Herringbonestitch", "Honeycomb", "Honeycombstitch", "Houndstooth", "Hurdlestitch", "Ikat", "Illusion", "Intarsia", "Jute", "Kapoc", "Kind", "Kitchener", "Lace", "Lattice", "Lazy", "Linen", "Madras", "Magicknot", "Maverick", "Mohair", "Mood", "Mosaic", "Mossstitch", "Nailshead", "Nettle", "Ombre", "Optimist", "Paisley", "Perfect", "Pessimist", "Picot", "Pinstripe", "Plaid", "Polite", "Polka", "Polkadot", "Popcornstitch", "Preppy", "Purlstitch", "Quatrefoil", "Ramie", "Ramina", "Random", "Raspberrystitch", "Regency", "Ribstitch", "Scramble", "Seamless", "Seedstitch", "Sharkskin", "Shepherd", "Shy", "Silk", "Sincere", "Sisal", "Slapdash", "Stipple", "Stockinette", "Striae", "Stuffing", "Taffeta", "Tartan", "Tattercap", "Tattersail", "Tessellation", "Trefoil", "Twill", "Volatile", "Wafflestitch", "Watercolor", "Windowpane", "Wool", "Wreath", "Yarnball", "Yarnover", "Zigzag"];
      5     var element = document.createElement("div");
      6     element.setAttribute("id", "result");
      7     for (i = 0; i < 10; i++) {
      8         rnd = Math.random() * nm1.length | 0;
      9         nMs = nm1[rnd];
     10         nm1.splice(rnd, 1);
     11         br = document.createElement('br');
     12         element.appendChild(document.createTextNode(nMs));
     13         element.appendChild(br);
     14     }
     15     if (document.getElementById("result")) {
     16         document.getElementById("placeholder").removeChild(document.getElementById("result"));
     17     }
     18     document.getElementById("placeholder").appendChild(element);
     19 }