This project is a proof of concept to generate "fonts" for alien languages (e.g. for a sci-fi game).
Each font consists of the glyph images for 26 letters, 10 digits and a few punctuation characters.
Obviously alien languages would probably not follow these rules, this is an arbitrary decision to make them easy to compare visually. The algorithm could easily create hundreds of letters. Together with a (probably n-gram based) procedural sequence of these letters very different looking alien languages could be generated.
The following examples are automatically generated with the first 9 random seeds.
Each example has fairly consistent rules used to generate the glyphs for this language. The rules for digits vary slightly from the rules for letters. Punctuation glyphs are much simpler than normal letters but still follow similar construction rules. Operator glyphs are a bit more complex than punctuation glyphs. Three types of symmetrical brackets are available.
Have a look at the Lorem Ipsum links for each example. They show the two classical texts to show simple fonts: "The quick brown fox" and "Lorem ipsum". See whether you can spot the two numbers in the text (hint: they are surrounded by symmetrical brackets).
Each glyph is guaranteed to be distinct from all the other glyphs in the same font by pre-rendering and comparing pixel-wise during construction of the font. Unfortunately this can still produce visually very similar glyphs to us humans, but rest assured - the aliens have much more accurate visual perception and laugh at our problems to read their language.
- variable width glyph (proportional instead of monospaced fonts)
- add rule for closed loops
- add rule to avoid crossing lines
- add rule to prefer going forward
- add probability to move next stroke in the same (similar) direction
- recursive construction of glyphs (similar to Korean, Devanagari)
- optionally create upper/lower case variants of letters
- diacritic glyphs
- support subsets (e.g. vowels) to follow separate rules (e.g. to be diacritics)
- create TTF font
- generate example fonts for "reference" rulesets (e.g. latin-looking glyphs) to verify quality of rules
Link to Lorem Ipsum.
Link to Lorem Ipsum.
Link to Lorem Ipsum.
Link to Lorem Ipsum.
Link to Lorem Ipsum.
Link to Lorem Ipsum.
Link to Lorem Ipsum.
Link to Lorem Ipsum.
Link to Lorem Ipsum.