Repository navigation
Engine v2.6
Engine v2.6
Beats end where they should, films let go of what they no longer show, and moves aimed at a beat's end land on it. Books made with v2 need no change.
Beat length
- A tailed
clockRunand a camera run to the end of their beat anyway, so their ownDno longer lengthens it. Before, a clock run toD + HOLDadded a second hold. To hold a picture longer, add a plain run:prog(() => {}, 0, D + 1). clockRun'sfnow also gets the run's end,f(t, end). For a tail, that is the beat's real end, so a move such as a whip out or a dive into the next scene can land on it. Existing callers ignore the extra argument.- Under music, a beat gives back up to
HOLDfrom its closing hold to stay with the music. The end passed to a tail is where the beat really leaves, so the move is still seen landing. At the end of a beat, tails stay where the clock is rather than jumping a few px to their end.
Retired panels leave the page
- A panel replaced at the start of a beat is removed after its fade, and at once while seeking. Before, it stayed in the page as
display: none: a documentary's last beat kept every earlier map (megabytes of paths). - A removed node measures as nothing (
getBBox,getComputedTextLength) and its ids no longer resolve (url(#…),<use href>). Keep anything a later beat measures or refers to outside a panel. No published chapter depended on it (checked over 118 chapters, 1935 beats).
Sound and help
- Sound effects are fetched and decoded as soon as
sfx()is called, before the first click. An effect due in the first second after Play, or after an early seek, is ready instead of dropped on a slow line. - A film with questions lists the question keys in the help. A chapter whose moments have their own controls sets
CHAPTER.questionKeys = false, as Shooting an Elephant does.
Checked
- Full suite: 142 of 143 pass, plus one known, unrelated failure.
- Old against new engine in Chromium: every beat of 118 chapters is identical apart from the pandemic sample's four retimed beats.
- Firefox and WebKit: all pages and 32 films, no new errors.
Syncing
engine.py in the Skill syncs from the latest compatible release, now engine-v2.6.