From 2ec073fadbb888b58d19fcfe65b12fc13e0b7438 Mon Sep 17 00:00:00 2001 From: Ryan Adolf Date: Sun, 14 Jul 2024 19:23:17 -0400 Subject: [PATCH] More showcase updates --- README.md | 4 ++ src/routes/+page.svelte | 4 +- src/routes/showcase/+page.server.ts | 1 + src/routes/showcase/[slug]/+page.server.ts | 34 ++++++++++- src/routes/showcase/[slug]/+page.svelte | 61 +++++++++++++++--- src/routes/showcase/assets/author-gleb.jpg | Bin 0 -> 12235 bytes src/routes/showcase/assets/kbd-gleb.jpg | Bin 0 -> 251912 bytes src/routes/showcase/showcase.ts | 68 +++++++++++++++++---- 8 files changed, 149 insertions(+), 23 deletions(-) create mode 100644 src/routes/showcase/+page.server.ts create mode 100644 src/routes/showcase/assets/author-gleb.jpg create mode 100644 src/routes/showcase/assets/kbd-gleb.jpg diff --git a/README.md b/README.md index 560fe5f..c30956c 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,10 @@ Otherwise if you're looking to change how the generated keyboards look, the thre Rendering in Cosmos is split into two parts: geometrical calculations (which determines where parts go), and modeling operations (building the 3d model in OpenCascade). The files `geometry.ts` and `cachedGeometry.ts` perform those geometrical calculations (with the latter acting as a higher-level wrapper over functions in the former), and `model.ts` is responsible for all 3d modeling operations. +### License + +All code is licensed under the [AGPL-3.0 license](https://github.com/rianadon/Cosmos-Keyboards/blob/main/LICENSE). All STEP models under the `src/assets` folder are licensed under the [CC0](https://creativecommons.org/public-domain/cc0/) License. All other assets and images are copyrighted and may not be reused without permission. + ## Hand Scanning The code is at [`src/routes/scan`](https://github.com/rianadon/Cosmos-Keyboards/tree/main/src/routes/scan). Most of the processing happens in [`lib/hand.ts`](https://github.com/rianadon/Cosmos-Keyboards/tree/main/src/routes/scan/lib/hand.ts). diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 8ff574c..56428f9 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -75,8 +75,8 @@
-