simple changes

This commit is contained in:
2026-07-27 16:58:50 +02:00
parent d8187860d8
commit f8b1f053a3
4 changed files with 13 additions and 11 deletions

View File

@@ -30,7 +30,7 @@ export class App {
this.input = new Input()
this.overlay = new DomOverlay(SCENES, {
onNavClick: (s) => { this.scene = s },
onButtonClick: () => { this.scene = (this.scene + 1) % 5 }
onButtonClick: () => { this.scene = (this.scene + 1) % 4 }
})
this.overlay.setScene(this.scene)
this.resize()
@@ -63,8 +63,8 @@ export class App {
private computeStemMultipliers(time: number): void {
const sm = this.stemMultipliers
// scene-based color identity and speed
const colorBase = [0.0, 0.6, 1.2, 1.8, 2.4]
const speedBase = [0.0, 0.2, 0.1, 0.0, 0.15]
const colorBase = [0.0, 0.6, 1.2, 2.4]
const speedBase = [0.0, 0.2, 0.1, 0.15]
const scene = this.scene
// [0] = (camera speed, 0, color offset, twist/flash)