Merge pull request 'Tune Goldberg Paint defaults: depth 5, 500 iters, start in draw mode' (#3) from mikael-lovqvists-claude-agent/websperiments:defaults-and-draw-mode into main

Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
2026-05-10 16:29:20 +00:00
2 changed files with 5 additions and 6 deletions

View File

@@ -111,8 +111,8 @@
<h3>Mesh</h3>
<div class="param" style="margin-top:6px">
<label>Depth</label>
<input type="range" id="depth" min="1" max="5" value="4">
<span class="val" id="depth-val">4</span>
<input type="range" id="depth" min="1" max="5" value="5">
<span class="val" id="depth-val">5</span>
</div>
</div>
@@ -120,7 +120,7 @@
<h3>Relaxation</h3>
<div class="param" style="margin-top:6px">
<label>Iterations</label>
<input type="number" id="iters" value="32" min="0" step="50">
<input type="number" id="iters" value="500" min="0" step="50">
</div>
<div class="param">
<label>α edge</label>

View File

@@ -61,9 +61,6 @@ function set_stats(geo, stage_name, ms) {
if (s.vertices !== undefined) { lines += ` Verts: ${s.vertices}`; }
if (s.pentagons !== undefined) { lines += ` (${s.pentagons} pent)`; }
lines += '\n';
if (s.worst_shape !== null) {
lines += `Worst shape_r: ${s.worst_shape.toFixed(4)}\n`;
}
lines += `Build: ${ms}ms`;
stats_el.textContent = lines;
}
@@ -1179,5 +1176,7 @@ window.addEventListener('keydown', e => {
// Boot
// ---------------------------------------------------------------------------
paint.enabled = true;
update_paint_buttons();
resize();
build();