storyink 0.3.5 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.6
4
+
5
+ - **Default `story.pace` is 0.6** (was 1): shorter reading holds after each beat. `pace: 1` gives
6
+ the 0.3.5 holds, `pace: 0` the pre-0.3.5 timing. Applies to the viewer, `render` (and
7
+ `--pace`), the plugin and animated SVGs (built with their pace). Durations: OpenWick
8
+ architecture 176 s → 135 s, data flow 95 s → 78 s, checkout 30 s → 26 s, OAuth 57 s → 47 s.
9
+ - **Pauses in the viewer**, changeable after the build: a toolbar button (`Pauses: Normal`)
10
+ cycles None (0) · Short (0.3) · Normal (0.6) · Long (1.0) · Longer (1.5); `[` / `]` step down /
11
+ up; the choice is remembered (`localStorage["storyink-pace"]`); `#pace=<n>` wins. The HTML
12
+ embeds a small `timeline.source` and the viewer recompiles the timeline in the browser with the
13
+ same compiler (`recompilePace`, byte-identical to `render --pace`). The reader keeps their place
14
+ (same beat, same progress; `mapStoryTime`) and playback continues; duration, ticks, → / ← stops,
15
+ stepped holds and the follow camera follow the new timeline. Page contract: `pace()`,
16
+ `setPace(n)`. Viewer bundle +16.5 KiB (388.5 → 405.0 KiB).
17
+ - `storyink snapshot --pace N` (tool `storyink_snapshot` `pace`) pins the pace for every capture;
18
+ by default snapshots use the author pace.
19
+ - **→ / ← no longer wait for the text.** Step moves animate the graph only: → plays to the end
20
+ of the next beat's graph motion (pulses arrived, reveals and draw-ons done; not caption typing,
21
+ glows, trail cooling, rings or the reading hold; `beatMotionEnds`) and pauses; pressed during a
22
+ reading hold (or right after a stop) it starts the next beat at once. ← rewinds the graph at 2×
23
+ to the previous beat's motion end. The beat's caption shows whole and instantly as the move
24
+ starts (← shows the target beat's) and stays at the stop (`storyState(…, { captionBeat })`).
25
+ Continuous play, stepped playback, the scrubber and the default `storyState` are unchanged.
26
+ - Stepped (reduced-motion) stops last at least 0.8 s (the bare-beat hold).
27
+ - Fix: clicking a toolbar button while the play gate showed also started the story.
28
+
3
29
  ## 0.3.5
4
30
 
5
31
  - **Fix: the diagram showed a hover tooltip** (the diagram title) wherever the cursor rested. The
package/README.md CHANGED
@@ -128,8 +128,10 @@ previous one (Shift: by chapter; repeated presses extend the move).
128
128
 
129
129
  Playback **pauses to read after each beat**: about 1 s + 0.3 s per word of its caption (1.5–6 s;
130
130
  0.8 s without one) once the beat is still, before the next beat starts. The animation speed is
131
- unchanged. Set `"story": { "pace": 1.5 }` (or `--pace`) to slow it further, `0` for none, or
132
- `"hold": 3` on a step for its beat.
131
+ unchanged. The default `pace` is 0.6; set `"story": { "pace": 1.5 }` (or `--pace`) to slow it,
132
+ `0` for none, or `"hold": 3` on a step for its beat. Readers change it on the page with
133
+ **Pauses** in the toolbar (None · Short · Normal · Long · Longer, `[` / `]`, remembered;
134
+ `#pace=` in the URL); the viewer recompiles the timeline in the browser and keeps their place.
133
135
 
134
136
  Motion is **full by default, even when the reader's system asks for reduced motion**. Authors can
135
137
  set `"story": { "motion": "reduced" }` (always step by step) or `"motion": "system"` (follow