feat(cursor): add SVG pointer and transient click locator demo - #51
Open
OleksandrKucherenko wants to merge 2 commits into
Open
feat(cursor): add SVG pointer and transient click locator demo#51OleksandrKucherenko wants to merge 2 commits into
OleksandrKucherenko wants to merge 2 commits into
Conversation
pseudo-cursor.mp4 |
|
@shreyaskarnik I add skill updates, demo and details tom make pseudo mouse cursor "matching" the project standard |
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.
Adds a visible SVG pointer to recorded demos, with brief location feedback instead of a circle following every movement. With
cursorHighlight: { mode: 'click' }, a circle contracts toward the pointer on appearance, click, or Control release, then disappears after 700 ms. Repeated triggers restart one circle; existing continuous-ring behavior remains the default.Exports
createHumanCursor()with reproducible curved movement, pre-click dwell, real Playwright mouse events, navigation restoration, and explicit hide/dispose methods. The SVG and highlight use the same click hotspot and compose above other overlays without intercepting input. Adapts the pointer prototype shared in #37, with attribution in the source.Includes a self-contained HTML playground, recording configuration, scenes manifest, and a 47-second recorded demo. The demo shows three simultaneous overlays, pointer-only travel, click feedback, Control-key location feedback, navigation, styling, and cleanup. No app server or TTS engine is needed.
Also fixes the Windows recording launcher by invoking the installed Playwright CLI through Node instead of executing the
npx.cmdshim, and retains subprocess error details when stdout/stderr are empty.Validation:
npm run buildnode bin/argo.js validate pseudo-cursornode bin/argo.js pipeline pseudo-cursorrun on Windows; inspected exported frames for circle-free movement and transient locator feedback (1280 x 720, 30 fps)git diff --checkCloses #37.