Backdrop: four parallax layers, laid out per page, tones per top-level section
Sixteen circles in four layers, big and slow at the back to small and quicker at the front, each rising by its share of the page's scroll (none at the page's own speed); how far is measured from the page's height, so the back layer visibly moves on a long page. Each path gets its own seeded arrangement. The tone moves on only when a new top-level section arrives, and eases over 2.4s. Dark shades are chosen so text passes 4.5:1 however many circles overlap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e5c14dffa3
commit
2df908f7c4
4 changed files with 154 additions and 98 deletions
|
|
@ -163,7 +163,7 @@ export default function Layout() {
|
|||
// container, and then nothing inside it can be position: sticky
|
||||
// (a blog post's contents column scrolled away with the page).
|
||||
<div
|
||||
className="relative min-h-screen overflow-x-clip"
|
||||
className="min-h-screen overflow-x-clip"
|
||||
style={{ "--header-h": `${headerHeight}px` } as React.CSSProperties}
|
||||
>
|
||||
<a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue