Add circular cursor gesture collection and redraw mode - #340
Draft
spencerc99 wants to merge 5 commits into
Draft
Conversation
Deploying we-were-online-website with
|
| Latest commit: |
ad3a7a8
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6b3f7cba.we-were-online-website.pages.dev |
| Branch Preview URL: | https://cx-redraw-circles.we-were-online-website.pages.dev |
commit: |
Owner
Author
Preview evidenceCircles scans 100,000 archived events by default and offers guided-page filtering. Open preview · Review all evidence · Commit Archive-wide scan is the defaultThe deployed mode scanned 100,000 real archived events and correctly rejected ordinary browsing loops. Open captured page · 1280×720 Guided circle collection pageParticipants can intentionally contribute circle trails on the deployed collection route. Open captured page · 1440×900 Synthetic composition fixtureThis development fixture uses 24 generated cursor paths, not archived user gestures, to demonstrate the intended overlapping composition. Open captured page · 1440×900 Published by PR Evidence. Media is temporary and is removed after retention expires. |
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.



Summary
/circle-draw/, a guided page where extension users can trace large circles slowly enough for archival cursor sampling./redraw/that reads cursor events fromwewere.online/circle-draw, detects rough circular gestures inside longer trails, and arranges them into an overlapping composition.Detection
The detector scores closed trail windows using radial consistency, angular coverage, turn direction, aspect ratio, and distributed curvature. It rejects open arcs, back-and-forth movement, and corner-dominated rectangles. Detected paths retain their original gesture shape when they are translated and uniformly scaled into the composition.
Validation
bunx vitest run redraw/__tests__/circles.test.ts(5 tests)bunx tsc --noEmit --pretty falsebun run build/circle-draw/and/redraw/?mode=circleswith clean console logsThe screenshot fixture uses generated cursor paths to exercise the production detector and renderer. It is not archived user data.
No changeset, starter-template update, or developer-doc update is needed because this change is confined to the extension website and does not change a package API.