From 49909ec6a3e2f6bddf96e571167682ebce038f6d Mon Sep 17 00:00:00 2001 From: Alex Matulich Date: Fri, 25 Apr 2025 10:54:54 -0700 Subject: [PATCH] Contrast+threshold controls for img2scad.html --- scripts/img2scad.html | 176 ++++++++++++++++++++++++++++++++++-------- 1 file changed, 143 insertions(+), 33 deletions(-) diff --git a/scripts/img2scad.html b/scripts/img2scad.html index 3feeb3c2..b20f4763 100644 --- a/scripts/img2scad.html +++ b/scripts/img2scad.html @@ -5,12 +5,48 @@ Standalone web app to convert an image file to an OpenSCAD array, for use with BOSL2 textures. Versions 1-5: 22 April 2025 - by Alex Matulich Version 6: 23 April 2025 - added cropping UI +Version 7: 25 April 2025 - added contrast and threshold sliders --> - Image to OpenSCAD array, v6 + Image to OpenSCAD array, v7