Design.dev design.dev
Portfolio · Landing Page Template

Portfolio Landing Page

A one-page portfolio for a creative developer, all in one saturated blue. Drag through the headline and the letters bend and split into color fringes, then settle.

Live demo

Output of this prompt · Claude Fable 5.2 · WebGL

Drag through the headline to ripple it. Point at the work list to preview each project.

The Prompt 1,087 words

Build a one-page portfolio for Tomás Weil, an independent creative developer, where the page itself is the proof. The whole thing is one saturated blue with warm white type. The opening statement is real text that a shader redraws as a liquid surface: drag the pointer through it and the letters bend, trail and split into cyan and magenta fringes, then settle. The work list opens a small window beside the pointer that plays a different live shader for each project. A band of words runs faster and leans over when the page is scrolled. Match my project's existing stack, conventions, and design tokens. If there are none, output a single HTML file with inline CSS and JavaScript and zero dependencies. Raw WebGL only; no images, no video, no screenshots of work.

LOOK
- Page #1E2BE0, text #F6F4EF, secondary text at 72%, hairlines at 25%. One accent, lime #C8FF3D, for the availability dot, the dots in the running band and focus rings. Selection is white with blue text.
- ui-sans-serif, system-ui. Display type weight 640, line-height 0.9, letter-spacing -0.055em.
- Film grain overlay at 9%.

HEADER
- Fixed, on a short blue-to-transparent veil: "Tomás Weil" left; right, "Lisbon, 15:31" (a live clock for Europe/Lisbon via Intl) and "Booking from February" with a pulsing lime dot.

HERO
- 100svh, content pinned to the bottom. h1 "I build the part of a website people show their friends." at clamp(44px, 8.6vw, 156px), max 11.5em wide, color transparent so the shader can draw it.
- Under it, left: "Independent creative developer. I work with design studios and in-house teams on the interactive pieces: configurators, data stories, type tools and the odd thing nobody has a name for yet." Right: a link "Selected work" with a ringed down mark that drops 6px on hover.

THE LIQUID HEADLINE
- Typesetting: walk the h1's text nodes with a Range, take every client rect of every glyph, and redraw each glyph at that spot in white on an offscreen canvas at 2x. Upload as a texture. Redo on resize and when fonts load.
- Pass one, the push map: a texture one sixth of the canvas size holding a 2D vector per texel in two 8-bit channels, with 0.5 meaning no push. Each frame, into a second texture: blend 40% toward the average of the four neighbors, multiply by 0.965, pull a hair toward zero so it truly comes to rest, then add the pointer's movement since the last frame (times 4, clamped to 0.22) through a Gaussian at the pointer. Swap the two textures.
- Pass two, the picture: read the push vector t, add a very small standing wave so the surface is never dead flat, and sample the headline three times at uv - 0.2t, uv - 0.25t and uv - 0.3t for red, green and blue. Mix blue toward warm white by those three values. Where the surface is disturbed the channels part company and fringes appear; where it is calm the text is perfectly sharp.
- Add dot(t, (0.7, 0.7)) x 0.35 to the blue so a push also catches the light, and a soft vignette.
- The headline fades up over 1.2s on load. After 2.5 idle seconds an invisible swimmer traces a slow figure under the words so the page is alive in an embed.
- Pause when off screen or hidden. Without WebGL, show the h1 as plain text.

WORK
- A header row ("Selected work" left, "2023 to 2026" right) over a hairline, then five rows separated by hairlines: an index from a CSS counter, a title at clamp(30px, 5.6vw, 96px), and a line of description on the right. Atlas of Tides; Halden Type Tester; Orrin Configurator; Pike & Vale, Annual Report; Night Bus.
- Pointing at or focusing a row slides its title right on an expo-out curve and fades every other row to 35% using :has().
- The window: fixed, clamp(280px, 30vw, 460px) wide, 16:10, radius 18px. It follows the pointer on a spring (stiffness 130, damping 17), sits to the right of it, rotates up to 12 degrees in proportion to its sideways speed, and pops in from 60% scale on a spring easing.
- Inside is one WebGL canvas with a single fragment shader that switches on a scene number: six stacked swells for the tides; black stems thickening and thinning on cream for the type tester; an isometric floor of blocks rising and falling for the configurator; blue bars breathing for the report; warm lights sliding past in the dark for the bus. Each is four to six lines.
- Keyboard focus places the window at the right end of the focused row. Hidden on touch screens.

RUNNING BAND
- Between hairlines, one line of words at clamp(40px, 7vw, 120px), alternating solid and outlined, with a lime dot after each: Shaders, Motion systems, Type tools, Data stories, Configurators, Small games. The set is doubled so it loops.
- It always moves left at 60px a second. Scroll speed, smoothed, is added to that (half a pixel per pixel) and skews the band by up to 14 degrees in the direction of travel.

ABOUT AND CONTACT
- Two columns: a statement ("Eleven years of making browsers do things they were not asked to.") and a definition list of four rows (I am good at / I work with / I do not do / Recently).
- "Say hello" as a mailto link at clamp(54px, 15vw, 280px) whose letter-spacing opens on hover. Under it the address in text, a white pill "Copy address" that writes to the clipboard and answers "Copied" for two seconds, with a fallback that selects the address.
- A closing line saying the person and the projects are invented.

MOTION
- Load: header and hero copy sharpen from a 12px blur and settle on a CSS spring (a damped spring sampled into linear()). Rows and sections do the same once as they enter.

ACCESSIBILITY
- Both canvases are aria-hidden. The h1 is real text; the work list is an ordered list of links whose descriptions are real text.
- Copy feedback goes to a status region.
- prefers-reduced-motion: the headline is drawn once and does not respond; the band stands still; the window appears without spring or lean.

NEVER
- No screenshots, device mock-ups or case-study thumbnails.
- No custom cursor replacing the system one.
- No second color for backgrounds. It is all blue.
- No distortion so strong the statement cannot be read while it is moving.
  1. CopyThe full prompt, one click.
  2. PasteInto Cursor, Claude Code, or any agent.
  3. CompareAgainst the live demo above.
Portfolio Landing Page
Copied to clipboard