Monogram Morph Page
- group .........
- Pages
- source ........
- https://ui.aryank.space/pages/monogram-morph-page
- markdown ......
- /lab/monogram-morph-page.md
- human .........
- /lab/monogram-morph-page
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A single-viewport portfolio home where the wordmark is liquid. The mark is HTML text run through a goo filter, a gaussian blur followed by a steep alpha threshold, so crowding the letters fuses them into one blob and spreading them tears that blob into droplets which snap back into glyphs. One effect carries the whole site: on load a monogram melts and spreads into the full wordmark, and on every route change the current word melts and resolves into the next one, the swap hidden inside the mass while it is fully liquid. The mark is built as two passes of the same word through two goo filters: behind, a fat same-colour stroke that becomes the bright smear; in front, the letterforms themselves, solid and set light, sitting inside it. Each filter repaints its thresholded silhouette with a flat flood, because a gaussian blur works on premultiplied alpha and boosting alpha alone leaves the colour channels part-way to transparent. Around it, all running text is pre-split to characters and faded on a baked GSAP CustomBounce curve with a randomised stagger, so text does not fade, it flickers out and stutters back in. The bottom bar blends in exclusion and inverts, staying legible as the yellow mark passes beneath it, its active pill fills on a 1.2 second ease while its own letters flicker, and the landing route scatters draggable tags along the edges of the mark with collision rejection. Set in PangeaAfrikan where licensed, falling back to Hanken Grotesk, the one free grotesque sharing its binocular double-storey g. Live clock, container-query layout, GSAP only.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* One liquid mark does the loading and the routing
The wordmark is HTML text pushed through a goo filter: a gaussian blur, then an alpha matrix steep enough to snap the soft edges back to a hard silhouette. Crowd the letters and they fuse into one blob; spread them and the blob tears into droplets that resolve into glyphs. The loader is that effect run from a monogram to the full wordmark, and a route change is the same effect run from one word to the next. There is no second transition vocabulary anywhere on the page.
* Two passes, two filters, and a flat flood
Behind sits a fat same-colour stroke that the goo turns into the bright smear; in front sit the letterforms themselves, solid and set light, not an outline. They need separate filters because one blur radius wide enough to fuse the smear would dissolve the letters inside it, so the ink runs at roughly a third of the halo's blur. Each filter then repaints its thresholded silhouette with a flat flood: a gaussian blur operates on premultiplied alpha, so boosting alpha alone leaves the colour channels part-way to transparent and the mark composites washed out.
* The swap hides inside the melt
Outgoing and incoming words cross over between 44 and 56 percent of the morph, which sits inside the plateau where blur is at maximum. Their alphas composite above the filter's threshold across the overlap, so the mass never thins at the handover: it reads as one body reshaping rather than as two words dissolving through each other.
* Text flickers rather than fades
Every character fade eases on GSAP's CustomBounce at strength 0.8, applied to opacity rather than to position, so a character overshoots to solid, drops back to 36 percent, and stutters to rest. CustomBounce is a paid Club plugin but only a generator, so its output path is baked into bounce-ease.ts and evaluated directly. Same curve, nothing to register.
* The bar reads over anything beneath it
The bottom nav blends in exclusion and inverts, so it stays legible whether the yellow mark, the white ground, or a droplet mid-flight is passing under it. The active pill fills over 1.2 seconds while its own letters flicker in on a tighter per-character stagger, and the inactive pills roll a fill up from below that flattens its corners on the way in.
* Sized to its container, not to the viewport
The root declares container-type: inline-size and every length is in cqw, so the same component fills a bounded demo card and a full screen with no branch between them. That containment also makes the root the containing block for its own chrome, so the nav and the mark stay inside the component instead of escaping to the document.