Skip to content

feat: add mouse-driven ink wash effect to homepage background#2

Open
gamersover wants to merge 2 commits into
mainfrom
claude/homepage-mouse-ink-effect-p2p0si
Open

feat: add mouse-driven ink wash effect to homepage background#2
gamersover wants to merge 2 commits into
mainfrom
claude/homepage-mouse-ink-effect-p2p0si

Conversation

@gamersover

Copy link
Copy Markdown
Owner

Places a canvas layer between the page background and content. Ink blobs spawn at the cursor, expand with a radial gradient, drift, and fade — creating a 水墨 (Chinese ink wash) feel. Color tracks the active theme selection in real time.

https://claude.ai/code/session_01TWJsWThh3jbpCvPtxZhh3X

claude added 2 commits June 12, 2026 09:10
Places a canvas layer between the page background and content. Ink blobs spawn at the cursor, expand with a radial gradient, drift, and fade — creating a 水墨 (Chinese ink wash) feel. Color tracks the active theme selection in real time.

https://claude.ai/code/session_01TWJsWThh3jbpCvPtxZhh3X
The homepage background now runs a WebGL Navier-Stokes fluid solver. The
cursor stirs a velocity field; ink (dye) is advected through it, swirling,
diffusing and slowly fading like ink dropped in water. The ink colour tracks
the active theme selection in real time.

- velocity field: curl/vorticity, pressure projection, advection
- dye handled in a single combined advect+fade+inject pass for robustness
- respects prefers-reduced-motion; WebGL1 fallback; cleans up on unmount

Replaces the earlier Canvas2D blob effect (InkCanvas).

https://claude.ai/code/session_01TWJsWThh3jbpCvPtxZhh3X
@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
my-website Ready Ready Preview, Comment Jun 12, 2026 10:39am

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.

2 participants