Repository navigation
feat(capture): prototype the recording pill's entrance, silence and finish in the playground - #1404
Draft
kitlangton wants to merge 2 commits into
Draft
kitlangton wants to merge 2 commits into
kitlangton wants to merge 2 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The capsule playground now shows the recording pill's candidate motions side by side, drawn by Hex itself.
A new "Pill motion" section lines up how the pill could come in, rest while you're silent, and finish into the Undo receipt. It's a playground prototype only: the real capsule moves as it does today.
💡 Why
The web mockups couldn't show these on the real voice-reactive dot field, so it was hard to judge them. This draws them inside Hex's own renderer, over the real Dot scope simulation, with a scripted voice that goes silent, speaks, then goes silent again.
🆕 Now you can
hex capsule-playgroundand pick Entrance, Silence or Finish under "Pill motion".--video … --scene motion-entrance|motion-silence|motion-finish.🚦 How it ships
Only in the playground, which is hidden and only in capture builds. Release behaviour is unchanged until one is picked. Reduce Motion is respected: springs become short fades and shape changes land at once.
📊 Proof
Entrance (Now, E3 · Draw on):
entrance-1x.mp4
Silence (I1 dots, I2 flat line, I3 from the centre, I4 beads):
silence-1x.mp4
Finish (Now, F1 · One thread, F2 · Fold away):
finish-1x.mp4
Rendered at 240 fps with Hex's own headless clip renderer, dark theme, then checked frame by frame for pops, seams and jumps. Frame-to-frame change per lane shows no spikes other than video keyframes. One remaining: a 2 pt dip in "Fold away" still moves its text a pixel at a time, which you can't see at normal speed.
👀 Read:
playground/motion.rs, where everything is drawn from the clock. It copies the capsule's shell look instead of reusing it, which is fine for a throwaway prototype. The dot field's new flatness setting is off unless something sets it, and the existing scope tests pass unchanged. The rest is routine.Requested on the board after the web mockups · no user reports · clips rendered headless on a Mac
Checks run
cargo test --locked --bin hex -- capture_capsule dot_scope: 150 passedcargo clippy --locked --bin hex --tests: clean (after one fix)cargo fmt --check,git diff --check: clean