Add highlighter effect experiments lab page - #234
Open
MaggieAppleton wants to merge 1 commit into
Open
Conversation
Ten approaches to realistic highlighter marks over text, each generated with a unique random seed per mark: layered CSS gradients, SVG turbulence displacement filters, streaky ink textures, wet-bleed thresholding, procedural SVG blob paths, multi-pass overlapping strokes, a Canvas 2D chisel-tip pen simulation, and two WebGL fragment shaders modelling ink density, end pooling, fibre streaks and double-pass overlap. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BP14YBvgDMt8PDQNSwrLjT
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
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
Add a comprehensive experimental lab page showcasing 10 different approaches to rendering realistic highlighter marks on text, from simple CSS gradients to WebGL fragment shaders.
Key Changes
src/pages/highlighter-experiments.astro— a standalone lab page (not linked from navigation) that demonstrates various highlighter rendering techniquesNotable Implementation Details
getClientRects()mix-blend-mode: multiplyto composite ink layers realisticallydata-colorattributeshttps://claude.ai/code/session_01BP14YBvgDMt8PDQNSwrLjT