Prototype: rose-window eye (side-by-side variant, not a replacement) - #17
Draft
testtest126 wants to merge 1 commit into
Draft
Prototype: rose-window eye (side-by-side variant, not a replacement)#17testtest126 wants to merge 1 commit into
testtest126 wants to merge 1 commit into
Conversation
A second, original eye variant on the landing page -- NOT a
replacement. The shipped almond/eyelid eye stays exactly as-is at 32%
from the left; a new rose-window eye sits at 68%, on the right, so
the owner can compare them scrolling side by side and keep or toss.
The insight from the brief: a gothic rose window IS an eye -- radial
glowing petals standing in for an iris, a dark center for the pupil.
Built entirely by hand as inline SVG/CSS (12 petal <path>s rotated in
30-degree increments around a center pupil circle, two radialGradient
defs for the pane glow and the candle pinpoints, a feGaussianBlur for
the candles) -- no traced or copied artwork.
Zero JavaScript changes. Both eyes read the exact same --scroll-lid
custom property the existing throttled-rAF scroll listener already
computes; only the CSS consuming that one shared value differs:
.scroll-eye .eye { clip-path: inset(calc(50% - var(--lid)) 0); } (existing)
.rose-eye svg { clip-path: circle(var(--scroll-lid) at 50% 50%); } (new)
An inset-band "eyelid" reveal for the almond shape; a dilating circle
for the rose window -- a literal aperture-opening reading that suits
a round window better. Reduced-motion handling, the calm 25% default,
and the fallback-if-JS-fails guarantee are unchanged and automatically
apply to both, since neither is new JS, just a second reader of one
already-robust value.
Palette is intentionally separate from the existing cold cyan/sepia
one -- new --amber/--amber-deep/--amber-pale/--stone variables, warm
and restrained, fading into near-black at the rim per the brief.
A small on-page prototype note (in the phase-descent intro) and two
tiny comparison labels ("current" / "rose window (prototype)") make
the A/B comparison legible in the page itself, not just in
screenshots -- clearly marked as prototype-only, meant to be deleted
along with whichever variant loses.
Verified: headless Chrome + Playwright. Desktop (1280px) and mobile
(390px, where the two eyes stack vertically instead of side by side)
screenshots at 5 and 3 scroll positions respectively confirm both
apertures open in lockstep from closed (2%) to fully open (42%).
Reduced-motion emulation confirms --scroll-lid holds at a fixed 25%
regardless of scroll position, for both eyes simultaneously. Zero
console errors, zero failed requests throughout.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
testtest126
added a commit
that referenced
this pull request
Jul 23, 2026
Replaces the single scroll-driven eye with a hybrid of the current cold almond eye (cyan sclera, sepia iris, dark-red pupil — unchanged palette) and the rose-window prototype's (#17) radial architecture: a thin, desaturated ring + twelve spoke segments engraved into the white between iris and lid, clipped to the sclera so the rim reads as texture inside the eye rather than a separate flower shape. No warm/amber tones adopted. The aperture switches from a sliding eyelid-band clip to a dilating circle, so scrolling reads as a pupil/aperture actually dilating — pupil, then iris, then rim, then white — while a real iris+pupil stay visible at every openness, including the 25% reduced-motion rest state. Same --scroll-lid mechanic and reduced-motion calm-hold; no JS changes.
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
A second, original eye variant on the landing page — not a replacement. The shipped eye stays exactly as it is; a new rose-window eye sits beside it so it can be compared scrolling, then kept or tossed. Draft — review prototype, not for merge as-is.
The insight from the moodboard brief: a gothic cathedral rose window is an eye — radial glowing petals standing in for an iris, a dark center for the pupil. Built entirely original: 12 hand-authored petal
<path>s rotated in 30° increments around a center pupil circle, tworadialGradientdefs (pane glow + candle pinpoints), onefeGaussianBlurfor the candles. No traced or copied artwork — pure inline SVG/CSS.How it shares the existing mechanic
Zero JavaScript changes. Both eyes read the exact same
--scroll-lidcustom property the existing throttled-requestAnimationFramescroll listener already computes — only the CSS consuming that shared value differs:An inset-band "eyelid" reveal suits the almond shape; a dilating circle suits a round window — a literal aperture-opening reading. Reduced-motion handling, the calm 25% default, and the fallback-if-JS-fails guarantee are all unchanged and apply to both automatically, since neither is new JS — just a second reader of one already-robust value.
Layout & palette
--amber/--amber-deep/--amber-pale/--stone— kept apart from the existing cold cyan/sepia palette so the two read as genuinely different registers, not the same design in a different hue. Restrained: petals and candles are low-opacity, fading to near-black at the rim.Verification
Headless Chrome + Playwright, both desktop (1280px) and mobile (390px):
--scroll-lidholds fixed at 25% regardless of scroll position, for both eyes simultaneously🤖 Generated with Claude Code