Random Name Generator, in Javascript

This random name generator is one of my results on toying with Javascript. It is sometimes useful if you want to tweak your fantasy a bit! It is also useful for generating names for characters in games (especially fantasy RPGs). You can try it right away as it is written purely in HTML and Javascript.

Sometimes the generator produces non-sensible and hard-to-pronounce names, like ‘Jugxyzthw’. There are plenty of them (well, yes, plenty), and since the algorithm does not rely on English dictionary it is unavoidable. But the rest are good names that can be used for anything from game characters to country names.

This random name generator is one of my results on toying with Javascript. It is sometimes useful if you want to tweak your fantasy a bit! It is also useful for generating names for characters in games (especially fantasy RPGs). You can try it right away as it is written purely in HTML and Javascript.

Sometimes the generator produces non-sensible and hard-to-pronounce names, like ‘Jugxyzthw’. There are plenty of them (well, yes, plenty), and since the algorithm does not rely on English dictionary it is unavoidable. But the rest are good names that can be used for anything from game characters to country names.

Creating the Random Names

The algorithm is very simple, actually. The only rule is that no three consonants can be adjacent in the name. Two consonants are OK (as in Matt), one is of course permitted. The rest of the letters are generated randomly while sticking to this rule. The definition of what is a vocal and what is a consonant is crucial; Some letters also appear more often than other letters (e.g. ‘x’ vs. ‘s’). The ability to specify prefix and suffix adds slight complexity but it is easy to work around.

Thanks for trying!

AttachmentSize
namegen.html4.66 KB

60 comments

great script!!!! :).

great script!!!! :)

Over the years I have found.

Over the years I have found using webcams to be one of the most frustrating tasks that I have to perform on a personal computer. I have found the whole process of installing a webcam and getting it to function properly with third party software to be a major hassle. 

ada tak coding yang.

ada tak coding yang berkaitan dengan frequency test?help me,plz....

One of the best ways to find.

One of the best ways to find a fashion magazine internship is to go straight to the magazines themselves. You can call the front desk and ask if there are any openings for interns. Or better yet send a resume and cover letter over on your own. They'll be impressed about how driven and proactive you are.

Hmm, I like your script) I.

Hmm, I like your script) I had similar at school) but my was making names for fantasy heroes)

Best.

Thank you for sharing such great information with us. I really appreciate everything that you've done here and am glad to know that you really care about the world that we live in
3pl

Many people are looking to.

Many people are looking to replace La Weight Loss bars with another brand of bars or a food substitution. There are many popular substitute bars such as Luna, Balance Bar Trail Mix, Power Bar, Honey Stinger, CLIF Nectar, LaraBara and Bumble Bar, Pria, and Go Lean.

this is very unique article.

this is very unique article regarding java script very informative as well.

blogs.

Colliers de Bali
Thanks for sharing this information. I really like your way of expressing the opinions and sharing the information. It is good to move as chance bring new things in life, paves the way for advancement, etc. But it is well known to everyone that moving to new location with bulk of goods is not an easy task to move or shift from one place to other place because I have experienced about that and I face the problem like that. There I go to village near to my city faced that problem there.,,,jhut mout

hi.

I'm happy when reading through your site with up-to-date information! thanks alot and hope that you'll publish more site that are based on this website.
vedic jyotish
vedic astrology
vedic astrology birth chart
vedic astrology 2011

I am quite definitely.

I am quite definitely overwhelmed by your ideas because of this specific story. A much more further and staged expertise will be beneficial to myself.

write my essay

I admit, I have not been on.

I admit, I have not been on this webpage in a long time… however it was another pleasure to see It is such an essential topic and ignored by so numerous, even professionals. I thank you to help making people more aware of possible issue.

hi.

I like concept of your post. Very creative post. Best of luck and waiting for some new ideas

I knowledgeable every little.

I knowledgeable every little bit element of it and I will be looking forward to the new up-dates.Really liked learning your we content. The facts was very useful and helpful. Thanks

JAVA TEA.

Im wondering if you can learn JAVASCRIPT on your home, on your own?

You're so cool! I don't think.

You're so cool! I don't think I've read anything like this before. So good to find somebody with some original thoughts on this subject. Thanks for starting this up

Botox Auckland.

I wish to know more about this because it actually catches my attention. Keep on posting valuable information about this dude! Thank you so much for sharing.

Botox Auckland

This is highly informatics,

This is highly informatics, crisp and clear. I think that Everything has been described in systematic manner so that reader could get maximum information and learn many things

i have read your blog and.

i have read your blog and find that your articles are amazing, i have added this into my bookmark. thanks a lot.

Hello there! This post.

Hello there! This post couldn't be written any better! Reading this post reminds me of my old room mate! He always kept talking about this. I will forward this write-up to him. Pretty sure he will have a good read. Thank you for sharing!

Search engine seo.

Search engine seo tips
optimization (seo)is the process of improving the visibility of website in search engines through the "natural" or un-paid search results. In general, higher ranked on the search results page and more frequentlyblack hat seo
a site appears in the search results, the more visitors it will get from the search engine users

I highly recommend EAS Simply.

I highly recommend EAS Simply Protein.their are many others but its the best one,..when it is used with milk it gives more better results,..

Kroatien UrlaubDie größten.

Kroatien UrlaubDie größten Katalog von Objekten mit direkten Kontakten zu Eigentümern und sicherlich billigsten Unterkünfte rund um die Küste von Kroatien

Some truly interesting.

Some truly interesting details you have written.Helped me a lot, just what I was looking for : D.

The post is designed in very.

The post is designed in very a very good manner also it entails many useful information in my situation.
I'm very happy to find your distinguished way of writing the post.

ptc

annuity.

I highly recommend EAS Simply Protein.their are many others but its the best one,..when it is used with milk it gives more better results,

Great job.

I read your above article you have done great job.

good life quotes.

High quality info good life quotes here! Keep up the great work. I love good luck quotes
the feelings being expressed.

You have done an excellent.

You have done an excellent job.I am happy to find your distinguished way of writing the post.Thanks for sharing this kind of information.I am hoping the same high-grade website post from you in the upcoming also. I found a lot of informative stuff in your article.

export products.

Good tricks of Generating the names.easy to implement export productsGood information which i read this thanks

great.

click here
Very little is written on the web about spam. And I am glad that you decided to write this post.

@.

After reading many of your blogposts I staleness say i launch this fact one to mostly be top notch. I soul a weblog also and require to repost a few shears of your articles on my own diary site. Should it be alright if I use this as eternal I own testimonial your web blog or create a inward unification to your article I procured the snipping from? If scarred this article to sound and zynga calculate intended for remark. Anyway realize it either way! not I realise and could not do it without having your tolerance . I change accumulation

Random name generator.

Would you be able to do this by having a var to get a random nr then assigning each one with a name like this--->

var _boy = math.floor(math.random()*11);

if _boy = 1 document.write(" Steve ");

would this work?

very nice.

You probably have invested a lot of time in the procedure and the downtime is really impressive. What interests me is one thing further - how did you make those nice picture for the tutorial. It's really impressive.

mir ist langweilig.

I want to encourage you to ultimately continue your great posts, have a nice weekend! I am satisfied to locate numerous useful information here in the post. Thank you for sharing....

Top Directory Howdy this is.

Top Directory
Howdy this is kinda of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually code with HTML. I'm starting a blog soon but have no coding experience so I wanted to get guidance from someone with experience. Any help would be enormously appreciated!

I was reading some of your.

I was reading some of your posts on this internet site and I believe this web site is really instructive! Continue posting .
Mens Jockstraps

Pretty section of content. I.

Pretty section of content. I just stumbled upon your site and in accession capital to assert that I get actually enjoyed account your blog posts. Any way I’ll be subscribing to your feeds and even I achievement you access consistently quickly

Hi there, I dependably like.

Hi there, I dependably like reading your posts, offer you!
http://www.simplyrest.com/

bagus sekali.

bagus sekali

That's really absurd to take.

That's really absurd to take care off. I try to not meddle with lots of fun thoughts about this, Maybe i should be silent

Cela m est extrêmement.

Cela m est extrêmement précieux ! Merci 1000 fois !

build cheap backlinks.

Like it! I like it a lot. You know exactly what you're talking about, exactly where other people are coming from on this issue. I'm glad that

Later this month, or in early.

Later this month, or in early November, we publish our biennial report on the UK car body repair market. Published since 1994, this report has seldom made happy reading for those in the industry and this year’s is no exception. The car body repair market always seems in a constant state of flux with supply and demand precariously in balance, and a very small cohort of ‘professional’ insurance company customers accounting for the majority of work. Gross margins are consequently low.

English bulldogs for sale I.

English bulldogs for sale I want to know that what is the importance of the specify prefix and suffix adds slight complexity but it is easy to work around.?

I'm starting a blog soon but.

I'm starting a blog soon but have no coding experience so I wanted to get guidance from someone with experience. Any help would be enormously appreciated!

This can be magnificent. We.

This can be magnificent. We looked at different groups written material and we are baffled. We are most certainly interested in one of these troubles. Type appreciate body participation, and cost your precious time in this. Please keep editing. They are incredibly terrific media webstore which will provide your reunion a very eliminate insight.
LPN Job description

Very nice article and right.

Very nice article and right to the point. I am not sure if this is actually the best place to ask but do you guys have any thoughts on where to hire some professional writers? Thx :) agen bola

Pingback. [...] ied This entry was posted in Uncategorized. Bookmark the permalink. ← Chinese police bust million-dollar rat-meat ring [...]
This can be magnificent. We.

This can be magnificent. We looked at different groups written material and we are baffled. We are most certainly interested in one of these troubles. Type appreciate body participation, and cost your precious time in this. Please keep editing. They are incredibly terrific media webstore which will provide your reunion a very eliminate insight.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <pre> <i> <b>
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.

Recent comments