You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
9.3 KiB
JavaScript
53 lines
9.3 KiB
JavaScript
function nameGen() {
|
|
var nm1 = ["Rolling hills of vibrant greens", "Blossoming fields", "Swaying fields of grass", "Gentle fields of countless grasses", "Carpets of lush grasses", "A vast expanse of the greenest grass", "A wide, open field of vibrant green", "A grand expanse of lush grass", "An endless sea of emerald life", "Green grass, teeming with life,", "Unlimited colors growing in all sorts of shapes and sizes", "Fields of many flowers", "Soft, gentle hills blanketed in delicate flowers", "Gentle slopes cloaked in countless colors", "Soothing hills of delicate flowers", "Dazzling reds, rich greens and specks of countless other colors", "A beckoning meadow of countless flowers", "A dazzling array of wild flowers, each more strange than the other,", "A landscape of exploding colors", "A tranquil carpet of soft, gentle colors"];
|
|
var nm2 = ["stretched across the landscape", "spanned the entirety of the land", "extended from horizon to horizon", "stretched out as far as the eye could see", "covered the landscape all around"];
|
|
var nm3 = ["broken up only by forests", "interrupted only by tiny villages and farmer's fields", "broken up by a gently flowing river with several branches", "punctuated by small ponds teeming with life", "speckled with little ponds and a serpentine river", "bordered by cultivated lands and tiny villages", "edged by a thick, ancient forest", "dotted with small groves and large lakes", "broken up by a large, coursing river", "interrupted at times by small, wooden huts and their little gardens"];
|
|
var nm4 = ["in the far of distance", "in the distance", "on the right-hand side", "on the left-hand side", "on both ends of this vista"];
|
|
var nm5 = ["Within the sea of green, islands of color called out to", "Amids the verdant ocean, pockets of color beckoned", "Within the green grasses colorful flowers reached toward", "Surrounded by the green grasses, countless flowers in all colors captivated", "Within the emerald landscape, dazzling flowers in countless colors enticed", "Amids the verdant backdrop, blossoms of every color bloomed for", "In the heart of the green grasses, colorful flowers peeked out above and dazzled", "Bouquets of flowers reached above the green grasses and beckoned", "Tapestries of colorful blossoms stood out amids the green grasses and enticed", "In the company of the many flowers were", "Within the blooming flowers unfolded a symphony of", "Enticed by their floral scents, the flowers attracted", "The banquet of flowers were irresistible to", "Above and throughout the sea of flowers hurried", "Above the flowers and intoxicated by their many scents were", "The countless colors and rich perfumes mesmerized", "The colorful blossoms enchanted", "Sweet, floral scents and dazzling colors charmed"];
|
|
var nm6 = ["buzzing bees", "fluttering butterflies", "entire bee queendoms", "countless butterflies", "many species of bees", "buzzing flies of many different species"];
|
|
var nm7 = ["beetles big and small", "all sorts of other flying insects", "all sorts of crawling creatures", "crawling creatures in all shapes and sizes", "intrepid dragonflies", "brightly colored beetles"];
|
|
var nm8 = ["Above them", "Above and around them", "Just above them", "High above them"];
|
|
var nm9 = ["soared high and far", "soared and glided", "embraced the freedom of the skies", "swirled and danced in the sky", "played and competed", "frolicked in the open skies", "displayed their graceful flights and dazzling acrobatics"];
|
|
var nm10 = ["a breeze carried their songs to all around", "all around hares and mice grazed on lush greens and the first grains", "small groups of deer ate and rested amids the tallest grasses", "a group of boar ran through the field in search of roots or a place to rest", "a large group of deer ran across the landscape to an unknown destination", "birds of prey hovered in search of prey", "large bovines grazed on the banquet of flowers, followed closely by small, crane-like birds", "birds of prey hovered vigilantly in wait for an opportune moment", "families of mice dined on anything they could find", "a pack of wolves traversed the landscape in search of who knows what"];
|
|
var nm11 = ["Amids the many flowers and swaying grass", "Within this tranquil landscape ", "Spread sporadically amids the lush landscape", "Nestled among this vibrant scene", "Embraced by this natural beauty", "Amids this tapestries of lower growth", "Between the flowers, grasses and empty spaces"];
|
|
var nm12 = ["young trees grew with branches stretched toward the sky and would one day turn these meadows into forest", "ancient trees stood alone, watching over their tiny sapling children growing amids the tallest, reed-like grasses", "large boulders slumbered, a perfect sunbathing place for the many reptiles calling this landscape their home", "massive boulders laid with their surfaces exposed to the elements. Parts were covered in moss, others bare and bathing in the sun", "remnants of fallen trees rotted, giving their life to the earth and it in turn to this young landscape", "young saplings grew skyward with hopes of one day turning this meadow into forest", "weathered and worn out trees stood, lone remnants of what was once a forest and, if their saplings grew, would one day be forest once more", "boulders of many sizes rested, their surfaces shaped by both the elements and the movement of the earth in times lost to memory", "bushes grew and looked like small islands peaked out above an ever-moving surface", "a variety of bushes grew, they themselves like miniature rolling hills with their own flowery landscapes within their leafy surface"];
|
|
var nm13 = ["The scents of the wildflowers", "The peaceful scene swaying in a gentle breeze", "Pure, natural tranquility", "The gentle wind carrying the sweet, floral aromas", "This calming sight of untouched nature", "A serene panorama with soft, floral scents", "The soft breeze rocking the landscape to a gentle rhythm", "A scene of unspoiled, calming nature"];
|
|
var nm14 = ["combined with the gentle warmth of the sun", "accentuated by the warmth of a late spring's sun", "further enhanced by rays of tantalizing sunshine", "enriched by the drowsy warmth of the sun", "covered in a blanket of the warm, rich light of the sun"];
|
|
var nm15 = ["blocked once in a while by tiny clouds in the sky", "comfortably out of reach of distant clouds carrying a thunderous storm", "out of reach of any and all clouds", "only occasionally interrupted by a passing cloud", "occasionally veiled by delicate clouds", "fortunately unbroken by the wispy clouds drifting by"];
|
|
var nm16 = ["would be enough to lull anyone looking to rest to sleep", "offered a gentle respite to any weary traveler in need of a break", "provided an atmosphere calm enough to ease anyone into a peaceful slumber", "would be enough to calm even the most restless of souls", "had the power to calm any and all traversing this landscape", "provided any would-be traveler with a perfect opportunity to rest both the body and the mind", "invited weary travelers and animals alike to rest and recover for as long as they needed"];
|
|
var nm17 = ["The soft grasses beneath would certainly make for a comfortable bed", "One would have but to setup camp to have all their needs met and more", "The landscape itself could certainly provide for almost all needs, safe for perhaps shelter against the elements", "The only thing missing might be the company of others and a makeshift shelter against the elements", "The sight at night, both with a full moon and without, would certainly be worth waiting for", "With like-minded folk, it would be the perfect setting to setup camp, share stories and gaze at the stars at night"];
|
|
var rnd = Math.random() * nm1.length | 0;
|
|
var rnd2 = Math.random() * nm2.length | 0;
|
|
var rnd3 = Math.random() * nm3.length | 0;
|
|
var rnd4 = Math.random() * nm4.length | 0;
|
|
var rnd5 = Math.random() * 9 | 0;
|
|
if (rnd > 9) {
|
|
rnd5 += 9;
|
|
}
|
|
var rnd6 = Math.random() * nm6.length | 0;
|
|
var rnd7 = Math.random() * nm7.length | 0;
|
|
var rnd8 = Math.random() * nm8.length | 0;
|
|
var rnd9 = Math.random() * nm9.length | 0;
|
|
var rnd10 = Math.random() * nm10.length | 0;
|
|
var rnd11 = Math.random() * nm11.length | 0;
|
|
var rnd12 = Math.random() * nm12.length | 0;
|
|
var rnd13 = Math.random() * nm13.length | 0;
|
|
var rnd14 = Math.random() * nm14.length | 0;
|
|
var rnd15 = Math.random() * nm15.length | 0;
|
|
var rnd16 = Math.random() * nm16.length | 0;
|
|
var rnd17 = Math.random() * nm17.length | 0;
|
|
var name = nm1[rnd] + " " + nm2[rnd2] + ", " + nm3[rnd3] + " " + nm4[rnd4] + ". " + nm5[rnd5] + " " + nm6[rnd6] + " and " + nm7[rnd7] + ". " + nm8[rnd8] + " birds " + nm9[rnd9] + " while " + nm10[rnd10] + ". ";
|
|
nm11[rnd11] + ", " + nm12[rnd12] + "."
|
|
var name2 = nm13[rnd13] + " " + nm14[rnd14] + ", " + nm15[rnd15] + ", " + nm16[rnd16] + ". " + nm17[rnd17] + ".";
|
|
br = document.createElement('br');
|
|
if (document.getElementById("result")) {
|
|
document.getElementById("placeholder").removeChild(document.getElementById("result"));
|
|
}
|
|
var element = document.createElement("div");
|
|
element.setAttribute("id", "result");
|
|
element.appendChild(document.createTextNode(name));
|
|
element.appendChild(br);
|
|
element.appendChild(document.createTextNode(name2));
|
|
document.getElementById("placeholder").appendChild(element);
|
|
}
|