diff --git a/scripts/img2scad.html b/scripts/img2scad.html
index e60aacf1..b6648975 100644
--- a/scripts/img2scad.html
+++ b/scripts/img2scad.html
@@ -59,6 +59,62 @@ Versions 1-5: 22 April 2025 - by Alex Matulich
.tooltip:hover .tooltiptext {
visibility: visible;
+ }
+
+ /* cropping control panel stuff */
+
+ .crop-container {
+ display: grid;
+ grid-template-areas:
+ "top top top"
+ "left center right"
+ "bottom bottom bottom";
+ grid-template-columns: auto 60px auto;
+ grid-template-rows: auto 60px auto;
+ gap: 4px;
+ padding: 2px;
+ box-sizing: border-box;
+ width: fit-content;
+ height: fit-content;
+ margin-top: 8px;
+ }
+ .crop-center {
+ grid-area: center;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 60px;
+ height: 60px;
+ border: 2px dashed #ccc;
+ background-color: #eee;
+ font-weight: bold;
+ font-size: 1rem;
+ box-sizing: border-box;
+ }
+ .crop-control {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ font-size: 0.9rem;
+ }
+ .crop-control input[type="number"] {
+ width: 6ch;
+ padding: 2px;
+ font-size: 1rem;
+ text-align: right;
+ border: 1px solid #ccc;
+ border-radius: 3px;
+ }
+ .crop-top { grid-area: top; }
+ .crop-left { grid-area: left; }
+ .crop-right { grid-area: right; }
+ .crop-bottom {
+ grid-area: bottom;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
}
@@ -82,15 +138,34 @@ Versions 1-5: 22 April 2025 - by Alex Matulich
-
Transformations
-
+
+
+
Appearance