Add ink-gravity shader to Rainy Tech theme#59
Add ink-gravity shader to Rainy Tech theme#59Copilot wants to merge 5 commits intofeat/rainyThemefrom
Conversation
Co-authored-by: HugoGresse <662377+HugoGresse@users.noreply.github.com>
|
Visit the preview URL for this PR (updated for commit 2954ee9): https://sunnytechwebsite--pr59-copilot-sub-pr-58-8okgvcob.web.app (expires Wed, 25 Mar 2026 10:25:19 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: b96ac7ab85879442bb94dc448b41aeca0f34d16c |
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot make it impact more element at the same time, but the ink fade should last a lot lot longer before dissapearing |
Co-authored-by: HugoGresse <662377+HugoGresse@users.noreply.github.com>
Done in commit
|
|
@copilot could you ease in the animation? Currently it is slow (which is OK) but the animation mouve 1px by 1px without transition which appear sluggish. |
Co-authored-by: HugoGresse <662377+HugoGresse@users.noreply.github.com>
Done in commit
|
Adds a per-element ink dissolution effect to the Rainy Tech Easter-egg theme: page elements progressively vanish like wet ink under rain — spreading, bleeding downward, and fading out very slowly.
Approach
<filter>withfeTurbulence(noise field) +feDisplacementMap(displacement), seeded randomly so every element has a distinct organic patterntransformandopacityare animated viacubic-bezierCSS transitions, delegating interpolation to the browser compositor for hardware-accelerated, jank-free motion; the SVG displacement scale is still driven by arequestAnimationFrameloop with ease-in quadratic0 → 40(ease-in quadratic via rAF) — ink absorbs water and spreads laterallytranslateY 0 → 120pxwithcubic-bezier(0.2, 0, 0.6, 1)easing — simulates gravitational acceleration1 → 0withcubic-bezier(0.1, 0, 0.5, 1)easing — ink concentration dilutes very slowly over 20–35 sh1–h6,p,li,img,picture,figure,button,blockquote, andpreelements (not only text)applyRainyTheme()— no-ops outside the Rainy Tech theme🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.