Skip to content

Trip cards: new pictures' cutouts, a shadow on the word, steadier resizing - #770

Merged
BSoDium merged 1 commit into
mainfrom
claude/trip-card-adjustments
Nov 27, 2026
Merged

BSoDium merged 1 commit into
mainfrom
claude/trip-card-adjustments

Conversation

@BSoDium

@BSoDium BSoDium commented Nov 27, 2026

Copy link
Copy Markdown
Owner

Adjustments to the trip cards after #753, with the cutouts of the new pictures that reached the site in #769 (content PRs BSoDium/Catalyst-content#116, #117, #118). No open issue covers this, so the PR is on the board itself.

  • Cutouts for the new Moscow, Lisbon, Marrakesh, Quito and Vienna pictures. Thin spires and finials are recovered, the misty distance is left out of Budapest by a drawn outline, edges are drawn in by a pixel (no silver lining).
  • Resizing a card no longer flickers: the photograph scales continuously, the word is measured once, and one image file is used at every width.
  • The subject casts a soft shadow, a darkened blurred copy of itself, on the letters of the word only.
  • The giant word and "CODE NAME" are quieter; the photo credit runs up the poster's right edge instead of taking a line.
  • Country borders are dashed close up; photographs shown larger than their pixels are softened more.
  • /dev/trip-cards also shows the card as the place panel lays it out (one, a pair, the carousel).

SAM2Matting (SAM2.1 B+ and SAM3 variants) was tried on the eight pictures with the current masks as prompts and did not do better (it drops much of a skyline), so the pipeline is unchanged; nothing of it is in the repo.

Typecheck and the web tests pass. Not checked: Safari and Firefox (the shadow uses SVG filters and a mask), a real phone.

🤖 Generated with Claude Code

… and credit, steadier resizing

- Cutouts for the new Moscow, Lisbon, Marrakesh, Quito and Vienna pictures; thin spires recovered, misty
  distance left out (Budapest), edges trimmed.
- A resized poster no longer flickers: the photograph scales continuously, the word is measured once, one
  image file.
- The subject casts a soft shadow, tinted by itself, on the word only.
- The giant word and its tag are quieter; the credit runs up the poster's edge.
- Country borders are dashed close up; enlarged photographs are softened more.
- The gallery shows the card as the place panel lays it out (one, a pair, the carousel).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
catalyst-v2 Ready Ready Preview Nov 27, 2026 12:44am UTC
1 Skipped Deployment
Project Deployment Actions Updated
catalyst-v2-api Skipped Skipped Nov 27, 2026 12:44am UTC

@vercel
vercel Bot temporarily deployed to Preview – catalyst-v2-api November 27, 2026 00:42 Inactive
@BSoDium BSoDium self-assigned this Nov 27, 2026
@BSoDium BSoDium moved this to In progress in Open-source development Nov 27, 2026
@BSoDium
BSoDium merged commit f5234d4 into main Nov 27, 2026
5 checks passed
@BSoDium
BSoDium deleted the claude/trip-card-adjustments branch November 27, 2026 00:44
@github-project-automation github-project-automation Bot moved this from In progress to Done in Open-source development Nov 27, 2026

This branch was successfully deployed

1 active and 1 inactive deployments
Preview – catalyst-v2 — 3b242b27 Deployed Nov 27, 2026 by vercel[bot]
Preview – catalyst-v2-api — 3b242b27 Deployed Nov 27, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant