You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.4 KiB
46 lines
1.4 KiB
<script context="module">
|
|
export function preload() {
|
|
return this.fetch(`index.json`).then(r => r.json()).then(collection => {
|
|
return { collection };
|
|
});
|
|
}
|
|
</script>
|
|
|
|
<script>
|
|
import Page from "../components/Page.svelte";
|
|
|
|
|
|
export let collection;
|
|
</script>
|
|
|
|
<style>
|
|
ul {
|
|
margin: 0 0 1em 0;
|
|
line-height: 1.5;
|
|
}
|
|
</style>
|
|
|
|
<svelte:head>
|
|
<title>Blog</title>
|
|
</svelte:head>
|
|
|
|
<Page narrow selected="INDEX" collection={collection}>
|
|
<h1>Name Generator</h1>
|
|
<p>
|
|
This name generator uses context-free grammars and markov chains to create names faithful to the source material, and does it
|
|
very fast. The code is <a href="https://github.com/gissleh/namegen"> open source</a> and available as a Rust crate. It's
|
|
running as a webassembly module in the browser.
|
|
</p>
|
|
<p>
|
|
The samples used to build the generator has been sourced from both canon and fan-created works. I will not share the sample
|
|
material as I do not possess permissions for that. Feel free to download the processed generator data, however, which you
|
|
can find by tacking .json to any name, and <a href="/index.json">the index</a> if you want a list. The <code>data</code>
|
|
field serializes into a <code>Name</code> struct from the rust crate linked above.
|
|
</p>
|
|
<p>
|
|
There are no analytics or cookies, and all generating happes in your browser.
|
|
</p>
|
|
<p>
|
|
<b>To get started,</b> select a generator from the menu. It's below this text on mobile devices.
|
|
</p>
|
|
</Page>
|