Repository navigation
feat: zoom toward clicks and ring them (#119) - #161
Merged
Merged
Conversation
zoom plans keyframes from the input event log's clicks (default when the log has any): arrive on each click, pan between nearby clicks, zoom out after the hold. highlightClicks draws an expanding ring at each click, before the zoom so it moves with it. Docs recipe REC 06 shows a real before/after. Closes #119 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Closes #119: the click-driven half, built on the input event log (#158).
zoomfollow: "auto" | "clicks" | "changes". Without keyframes,auto(default) follows clicks when the recording's.events.jsonlhas in-frame clicks, else screen changes as before.transitionSecearlier, so the camera arrives with the cursor). Clicks less thanholdSecapart form one run that pans between them; clicks already well inside the current view don't pan. It zooms outholdSecafter the run, and keyframes stay at least one transition apart.highlightClicksdraws an expanding, fading ring per click (highlightColor, default#FF4545). Each ring is a small geq colour source shifted to the click time and overlaid before zoompan, so it moves with the zoom.eventspoints at a log explicitly. The tool errors clearly when clicks are asked for but there's no log, and caps rings at 200.Docs: new recipe REC 06, "Zoom toward every click", with before/after GIFs from a real end-to-end run (record with
events: true→ one injected click on a demo window's Save button →zoom { highlightClicks: true }). Linked from the home page and workflows index.Tests
Bumps to 0.29.0.
🤖 Generated with Claude Code