Skip to content

Turned card outlines on cardvision 0.10.1 - #34

Merged
ryangswe merged 3 commits into
mainfrom
toolkit-0.10.1
Nov 10, 2026
Merged

ryangswe merged 3 commits into
mainfrom
toolkit-0.10.1

Conversation

@ryangswe

Copy link
Copy Markdown
Owner

Moves DuelSight to cardvision 0.10.1 and outlines a card lying at an angle along its own edges. The extension's version doesn't change.

Runtime. The browser runtime is re-vendored from toolkit 0.10.1 (8a0f2c2, tag v0.10.1). The worker is byte-identical to 0.10.0. Only the session, page-capture and compute-session files and their types changed: with rotatedOutlines on, the shown card carries rotation, localWidth and localHeight when it is turned.

Turned outlines. The compute frame turns on rotatedOutlines, so a turned card responds to the pointer along its own edges, not its upright box. The outline draws that same shape: the card's sides around the center of its box, turned with CSS rotate(), matching the toolkit's computeCardQuad. Upright cards keep the box, as before, and so does any outline the message parser drops.

Card updates. cdn/requirements.txt pins cardvision[cdn]==0.10.1, which has the same publish-release options as 0.10.0.

Checks

  • npm test (581), typecheck, lint.
  • Chrome 152 on the local test page with a generated clip (one card turned 15°, one upright):
    • The turned card's outline is turned (13.2°) and lies along the card.
    • The upright card keeps its box, with no turn.
    • The empty corner of the turned card's upright box shows nothing; a 0.10.0 build shows the card there.

Signed-off-by: RDCLder <raymondyang.dev@gmail.com>
The compute frame turns on the toolkit's rotatedOutlines (0.10.1): a turned
card is hovered along its own edges, and the shown card carries its
rotation, localWidth and localHeight. The outline draws that same shape (the
card's sides about the center of its box, turned with CSS rotate), so it
matches what the hover test uses. Upright cards, and any outline the
parser drops, keep the upright box as before.

Signed-off-by: RDCLder <raymondyang.dev@gmail.com>
Signed-off-by: RDCLder <raymondyang.dev@gmail.com>
@ryangswe
ryangswe merged commit e190e2b into main Nov 10, 2026
5 checks passed
@ryangswe
ryangswe deleted the toolkit-0.10.1 branch November 10, 2026 20:39
ryangswe added a commit that referenced this pull request Nov 11, 2026
* Runtime: vendor cardvision-browser from toolkit 0.11.0 (fd0aa3c); card updates on cardvision 0.11.0

Signed-off-by: RDCLder <raymondyang.dev@gmail.com>

* Compute frame: pace analysis from its measured cost

Turns on the toolkit's measuredPacing (0.11.0): the wait between analyses
follows what they cost on this computer (a quarter of the time at most),
never faster than the fixed rates. A slow computer is no longer kept busy
analyzing; on a fast one nothing changes. The toolkit's wait harness on
DuelSight's dev clips, at an emulated 6x slower computer, showed shorter
waits for the right name on every clip, the same cards answered, none
wrong.

Signed-off-by: RDCLder <raymondyang.dev@gmail.com>

* Bundled release: 862aec0f937da326, the 2026-11-10 card update (f3ed25290dde66e9) converted to a binary bank

Signed-off-by: RDCLder <raymondyang.dev@gmail.com>

* Runtime: pin toolkit main 77dcac0 (0.11.0 plus the wait harness's cold-run fix; every vendored file unchanged)

Signed-off-by: RDCLder <raymondyang.dev@gmail.com>

* Version 0.8.0: turned card outlines and measured pacing

Runtime: toolkit main 77dcac0 (cardvision 0.11.0's runtime). Bundled
release 862aec0f937da326, the 2026-11-10 card update (f3ed25290dde66e9)
converted to a binary bank. cdn/RUNTIMES.json gets its row, and
docs/store-listing.md its version row. New since 0.7.0: a card lying at an
angle is outlined and hovered along its own edges (#34), and analysis is
paced from what it costs on the computer.

Signed-off-by: RDCLder <raymondyang.dev@gmail.com>

---------

Signed-off-by: RDCLder <raymondyang.dev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant