From 2616aa3fd051d2de0cf519a1a39626bfd35cb3a7 Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Mon, 12 Jan 2026 15:40:24 +0100 Subject: [PATCH] updated Readme Signed-off-by: Stephan Richter --- README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/README.md b/README.md index ea4494d..f768934 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,37 @@ # Backfrom (Project) This project serves as repository for a SFB cookie cutter + +Die Polyline-SVGs ([imprint-polyline.svg](imprint-polyline.svg), [outline-polyline.svg](outline-polyline.svg), [scale-down.svg](scale-down.svg)) wurden online erzeugt: + +1. Code (reduziert auf benötigte Pfade) aus keksform.svg bei +https://observablehq.com/@dqgorelick/converting-svg-to-a-polyline reinkippen +2. Script anpassen (das vordefinierte-Scrript ist falsch und erzeugt auch keinen SVG-Code): +```js +{ + const paths = document.querySelectorAll('#output-svg svg path') + // const paths = svg.children + const polylines = [] + console.log(paths) + let tx = ''; + for (let i=0; i" + } + tx+="\n" + + return html` +

Run this to get your polyline

+

Increase samples to get more definition

+` +} +``` +3. Code ausführen \ No newline at end of file