← back to Quadrille Showroom
Center book starts open at 20 degrees (was 65)
a785d8acf07c635be822be49326a159ba0562743 · 2026-06-29 15:28:45 -0700 · Steve
Files touched
Diff
commit a785d8acf07c635be822be49326a159ba0562743
Author: Steve <steve@designerwallcoverings.com>
Date: Mon Jun 29 15:28:45 2026 -0700
Center book starts open at 20 degrees (was 65)
---
public/js/showroom.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/public/js/showroom.js b/public/js/showroom.js
index b978a8c..a8e6020 100644
--- a/public/js/showroom.js
+++ b/public/js/showroom.js
@@ -2014,11 +2014,11 @@ function loadWingBook(pivot, onDone) {
// meeting at the centre spine. Paged with [ ] / N-P. No arc, no auto-fly.
// ============================================================
const BOOK_SPINE_Z = -2.4; // spine sits ~8ft ahead of the centred spawn
-// Per-leaf splay (degrees off flat). Steve's ask: wings at 65°, opening FORWARD toward the
-// viewer. Live-driven by the Open° slider, persisted to localStorage('qh_book_splay').
+// Per-leaf splay (degrees off flat), opening FORWARD toward the viewer. Steve's ask: START
+// at 20°. Live-driven by the Open° slider, persisted to localStorage('qh_book_splay').
let BOOK_SPLAY_DEG = (function () {
const v = parseFloat(localStorage.getItem('qh_book_splay'));
- return (v >= 0 && v <= 90) ? v : 65;
+ return (v >= 0 && v <= 90) ? v : 20;
})();
let BOOK_LEAF_SPLAY = BOOK_SPLAY_DEG * Math.PI / 180; // radians each leaf opens off flat
@@ -3488,7 +3488,7 @@ function initHUD() {
if (opnVal) opnVal.textContent = opn.value + '°';
opn.addEventListener('input', () => {
if (BOOK_MODE) {
- setBookSplay(parseInt(opn.value) || 65);
+ setBookSplay(parseInt(opn.value) || 20);
if (opnVal) opnVal.textContent = Math.round(BOOK_SPLAY_DEG) + '°';
return;
}
← 80267e9 Center book: open leaves FORWARD at 65° + wire Open° slider
·
back to Quadrille Showroom
·
Hamburger dock: stow all panels on load + launch each as mov 3b94ca1 →