Add shader page reveal checkpoint

This commit is contained in:
2026-06-07 13:10:17 +02:00
parent 7725ce9c73
commit 7fc083fb58
5 changed files with 255 additions and 65 deletions
+8 -8
View File
@@ -3,7 +3,7 @@
* Defines the canonical page geometry used by the WebGL book renderer.
*/
import { BaseModule } from './base-module.js';
import { calculateProceduralBookThickness, snapProceduralPageCount } from './procedural-book-model.js?v=20260607-webgl-paper-loader-fix';
import { calculateProceduralBookThickness, snapProceduralPageCount } from './procedural-book-model.js?v=20260607-webgl-shader-reveal';
export const BOOK_TEXTURE_WIDTH = 3072;
@@ -20,13 +20,13 @@ class BookPageFormatModule extends BaseModule {
margins: Object.freeze({
topIn: 0.46,
bottomIn: 0.58,
innerBaseIn: 0.375,
innerMinIn: 0.44,
innerMaxIn: 0.68,
innerThicknessFactor: 0.25,
outerBaseIn: 0.44,
outerThicknessFactor: 0.04,
outerMaxIn: 0.5
innerBaseIn: 0.42,
innerMinIn: 0.48,
innerMaxIn: 0.74,
innerThicknessFactor: 0.32,
outerBaseIn: 0.36,
outerThicknessFactor: 0.02,
outerMaxIn: 0.42
}),
typography: Object.freeze({
fontFamily: '"EB Garamond", "EB Garamond 12", serif',