Spaces:
Sleeping
Sleeping
Blair Johnson commited on
Commit ·
a4cf910
1
Parent(s): 600e637
Clarify curve editor height labels
Browse files
app.py
CHANGED
|
@@ -267,7 +267,7 @@ CURVE_EDITOR_HEAD = """
|
|
| 267 |
ctx.strokeRect(r.x, r.y, r.w, r.h);
|
| 268 |
ctx.fillStyle = 'rgba(255,255,255,0.72)';
|
| 269 |
ctx.font = `${12 * (window.devicePixelRatio || 1)}px ui-monospace, SFMono-Regular, Menlo, monospace`;
|
| 270 |
-
ctx.fillText('input
|
| 271 |
ctx.save();
|
| 272 |
ctx.translate(r.x - 24 * (window.devicePixelRatio || 1), r.y + 95 * (window.devicePixelRatio || 1));
|
| 273 |
ctx.rotate(-Math.PI / 2);
|
|
@@ -482,7 +482,7 @@ CURVE_EDITOR_HTML = """
|
|
| 482 |
<canvas id="depth-curve-canvas" width="720" height="360"></canvas>
|
| 483 |
<div id="depth-curve-readout" class="depth-editor-readout"></div>
|
| 484 |
<div class="depth-editor-help">
|
| 485 |
-
Drag points to remap
|
| 486 |
Double-click a non-endpoint, or select it and press Delete, to remove it. The blue histogram shows the current smoothed base-depth distribution.
|
| 487 |
</div>
|
| 488 |
</div>
|
|
|
|
| 267 |
ctx.strokeRect(r.x, r.y, r.w, r.h);
|
| 268 |
ctx.fillStyle = 'rgba(255,255,255,0.72)';
|
| 269 |
ctx.font = `${12 * (window.devicePixelRatio || 1)}px ui-monospace, SFMono-Regular, Menlo, monospace`;
|
| 270 |
+
ctx.fillText('input height value →', r.x + r.w - 145 * (window.devicePixelRatio || 1), r.y + r.h + 24 * (window.devicePixelRatio || 1));
|
| 271 |
ctx.save();
|
| 272 |
ctx.translate(r.x - 24 * (window.devicePixelRatio || 1), r.y + 95 * (window.devicePixelRatio || 1));
|
| 273 |
ctx.rotate(-Math.PI / 2);
|
|
|
|
| 482 |
<canvas id="depth-curve-canvas" width="720" height="360"></canvas>
|
| 483 |
<div id="depth-curve-readout" class="depth-editor-readout"></div>
|
| 484 |
<div class="depth-editor-help">
|
| 485 |
+
Drag points to remap the normalized height interpretation before STL export. Click the curve to add a point.
|
| 486 |
Double-click a non-endpoint, or select it and press Delete, to remove it. The blue histogram shows the current smoothed base-depth distribution.
|
| 487 |
</div>
|
| 488 |
</div>
|