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!
| Attachment | Size |
|---|---|
| namegen.html | 4.66 KB |
great script!!!! :)
great script!!!! :)
ada tak coding yang
ada tak coding yang berkaitan dengan frequency test?help me,plz....
Hmm, I like your script) I
Hmm, I like your script) I had similar at school) but my was making names for fantasy heroes)
Post new comment