The namegen5 website.
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

3 years ago
  1. <script context="module">
  2. export function preload() {
  3. return this.fetch(`index.json`).then(r => r.json()).then(collection => {
  4. return { collection };
  5. });
  6. }
  7. </script>
  8. <script>
  9. import Page from "../components/Page.svelte";
  10. export let collection;
  11. </script>
  12. <style>
  13. ul {
  14. margin: 0 0 1em 0;
  15. line-height: 1.5;
  16. }
  17. </style>
  18. <svelte:head>
  19. <title>Blog</title>
  20. </svelte:head>
  21. <Page narrow selected="INDEX" collection={collection}>
  22. <h1>Name Generator</h1>
  23. <p>
  24. This name generator uses context-free grammars and markov chains to create names faithful to the source material, and does it
  25. very fast. The code is <a href="https://github.com/gissleh/namegen"> open source</a> and available as a Rust crate. It's
  26. running as a webassembly module in the browser.
  27. </p>
  28. <p>
  29. The samples used to build the generator has been sourced from both canon and fan-created works. I will not share the sample
  30. material as I do not possess permissions for that. Feel free to download the processed generator data, however, which you
  31. 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>
  32. field serializes into a <code>Name</code> struct from the rust crate linked above.
  33. </p>
  34. <p>
  35. There are no analytics or cookies, and all generating happes in your browser.
  36. </p>
  37. <p>
  38. <b>To get started,</b> select a generator from the menu. It's below this text on mobile devices.
  39. </p>
  40. </Page>