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.

45 lines
1.4 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
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. <svelte:head>
  13. <title>Namegen 5</title>
  14. </svelte:head>
  15. <Page narrow selected="INDEX" collection={collection}>
  16. <h1>Name Generator</h1>
  17. <p>
  18. This name generator uses context-free grammars and markov chains to create names faithful to the source material, and does it
  19. very fast. The code is <a href="https://github.com/gissleh/namegen"> open source</a> and available as a Rust crate. The
  20. website runs this rust code as a webassembly module.
  21. The <s href="https://git.aiterp.net/namegen5/website">website, wasm and its tools</a> are also open source, but there be dragons.
  22. </p>
  23. <p>
  24. The samples used to build the generator has been sourced from both canon and fan-created works. I will not share the sample
  25. material because of that.
  26. Feel free to download the processed generator data, however, which you can find by tacking <code>.json</code> to any
  27. generator's path.
  28. The <code>name.data</code> field serializes into a <code>Name</code> struct from the rust library linked above.
  29. </p>
  30. <p>
  31. There is no analytics or cookies, and all generating happes in your browser.
  32. </p>
  33. <p>
  34. <b>To get started,</b> select a generator from the menu.
  35. </p>
  36. </Page>
  37. <style>
  38. code {
  39. color: #9ac;
  40. }
  41. </style>