Tune Goldberg Paint defaults: depth 5, 500 iters, start in draw mode #3
@@ -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>
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user