aboutsummaryrefslogtreecommitdiffstats
path: root/web/index.html
diff options
context:
space:
mode:
authoruser <user@clank>2026-08-30 16:54:38 +0200
committeruser <user@clank>2026-08-30 16:54:38 +0200
commita1fd6a4e124c0b4e16c31ad6ef7ac5b6f617966d (patch)
tree02b549282778480439ce431a89d0926819729f23 /web/index.html
parentweb: the panes cast shows the drop bands, not just the swap (diff)
downloadslosh-a1fd6a4e124c0b4e16c31ad6ef7ac5b6f617966d.tar.gz
slosh-a1fd6a4e124c0b4e16c31ad6ef7ac5b6f617966d.tar.xz
slosh-a1fd6a4e124c0b4e16c31ad6ef7ac5b6f617966d.zip
web: one knob to hurry every cast on the page
window.SLOSHCAST_SPEED, multiplied into each mount's own data-speed: the front page sets 1.25 and every recording plays a quarter faster than authored, the scripts under demos/ untouched -- their pacing is theirs, and how much of it a visitor's attention span gets is the page's call. The clock keeps counting cast-time, so the timestamps mean the same thing at any speed.
Diffstat (limited to 'web/index.html')
-rw-r--r--web/index.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/index.html b/web/index.html
index d34255a..7fec3f9 100644
--- a/web/index.html
+++ b/web/index.html
@@ -297,6 +297,12 @@ Server = https://slosh.foo/arch/$arch
</section>
</main>
+<script>
+// One knob: every cast on this page plays this much faster than authored.
+// The scripts under web/recordings/demos/ keep their own pacing; this is
+// the front page deciding its visitors' time is short.
+window.SLOSHCAST_SPEED = 1.25;
+</script>
<script src="recordings/player.js"></script>
<script>
// The scripts on the page: the copy buttons, the install preselect and the