Repository navigation
Redesign Heartwritten as paper, type and heartbeat ink - #3
Merged
Merged
Conversation
- Richer ink: iron-gall blue-black at rest, warming through claret to vermilion, cooling to clear blue-black - Words land as wet ink, the caret writes in the current ink - A heartline under the signature draws the whole letter's heart rate - Pause notes sit in the margin beside the line they happened on - Envelope drawn as a real envelope with the seal on the flap - Postscript replaces the summary card; text links replace pill buttons - Writer: same desk and paper, consent as a set sheet, caret follows the heart Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The writer now shows each character in the ink of the heartbeat that typed it, through a mirror behind the textarea. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…shots Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Before: the reader and writer used stock web pieces: pill buttons, a gradient summary card, a cartoon heart icon, emoji in the stats, and a salutation that repeated the letter's own "Maya,". The heartbeat ink barely changed colour, so the main idea was hard to see.
After: both pages are one piece of stationery. A desk, a sheet of toothed paper, a real serif with small-caps labels, and one dark ink. The heartbeat is the only colour: words are written in a navy-to-claret-to-vermilion ink that follows the writer's pulse, a thin heartline under the signature draws the whole letter's heart rate, and pauses are noted in the margin beside the line where they happened.
The envelope is a drawn envelope with the wax seal on its flap. The summary is a quiet postscript ("While this was written") instead of a card. The writer now inks the letter live as you type, so you see your own heart colouring the words.
Screens
How
src/shared/playback.js: three-stop ink ramp (calm navy, claret, vermilion; cool blue below baseline), exported asINK.src/shared/heartline.js(new): SVG heartline coloured by the same ink, with a clip rect the reader reveals as the replay runs.src/reader/*: rewritten markup and CSS (system serif only, since the reader's CSP allows no web fonts), margin pulse, margin pause notes, postscript, phone layout with a sticky pulse bar, dark mode keeps the paper.src/writer/*: same language; a transparent textarea over an ink mirror so text takes the live ink colour.Tests:
npm testpasses (25 tests).Generated by Claude Code