Navy Rider

Fahren Sie mit der Maus über das Model: Wo die Spur entlangläuft, reißt das weiße Shirt auf, darunter stecken Helm und Jacke in Mitternachtsblau. Nach gut einer Sekunde zieht sich die Spur wieder zurück. Auf dem Handy reicht ein Wischen, und steht der Bildschirm still, wandert die Spur von selbst.

  • Hero-Section
  • Canvas
  • Hover-Effekt

So ist es entstanden.

  1. 01/ 03

    HiggsfieldSoul 2 · Qwen Edit

    Zwei Bilder erzeugen

    Erst das Porträt, dann aus genau diesem Bild die Rider-Variante — gleiche Pose, gleicher Ausschnitt.

  2. 02/ 03

    macOS VisionSwift

    Freistellen

    Beide freistellen und auf dieselbe Größe bringen, damit die Ebenen deckungsgleich liegen.

  3. 03/ 03

    Claude CodeHTML · Canvas · JS

    Seite bauen

    Bilder und Schrift in „assets“, den optimierten Prompt an Claude Code, fertig.

Alle Prompts im Wortlaut
012 Bild-Prompts
# Front (Soul 2, 3:4)
Waist-up studio fashion portrait of a Korean man in his early 20s, short black textured hair, calm confident expression looking straight into the camera, wearing a plain fitted white ribbed crew-neck t-shirt tucked into black trousers with a black belt, arms relaxed at his sides, standing straight and facing the camera, symmetrical, centered, framed from the hips up with clear space above the head, pure white seamless studio background, soft even shadowless light, photorealistic, no logos, no text

# Rider (Qwen Image Edit, front image as reference, aspect_ratio 3:4)
Keep the exact same man, the exact same pose, the same arms with hands in pockets, the exact same framing, crop, camera angle and scale, the same pure white background and the same black trousers and belt. Only change his head and top: a glossy very dark midnight-navy full-face motorcycle helmet (almost black-blue, hex #0b1a3a) with a dark iridescent blue visor fully closed over his face, and a fitted very dark midnight-navy leather racing jacket (hex #0b1a3a), zipped up, with thin white racing stripes on the sleeves and shoulders and small white star patches. Photorealistic studio fashion photo, soft even shadowless light, no logos, no text, no brand names
02Swift-Script
// cutout.swift — frees a person from the background with macOS Vision (macOS 14+)
// swiftc -O -o cutout cutout.swift && ./cutout look-1.png cut-1.png
import Foundation
import Vision
import CoreImage
import CoreImage.CIFilterBuiltins
import ImageIO
import UniformTypeIdentifiers

let args = CommandLine.arguments
let input = CIImage(contentsOf: URL(fileURLWithPath: args[1]))!
let handler = VNImageRequestHandler(ciImage: input)
let request = VNGenerateForegroundInstanceMaskRequest()
try handler.perform([request])
let result = request.results!.first!
let mask = CIImage(cvPixelBuffer: try result.generateScaledMaskForImage(forInstances: result.allInstances, from: handler))

let blend = CIFilter.blendWithMask()
blend.inputImage = input
blend.backgroundImage = CIImage.empty()
blend.maskImage = mask
let cg = CIContext().createCGImage(blend.outputImage!.cropped(to: input.extent), from: input.extent,
                                    format: .RGBA8, colorSpace: CGColorSpace(name: CGColorSpace.sRGB)!)!
let dest = CGImageDestinationCreateWithURL(URL(fileURLWithPath: args[2]) as CFURL, UTType.png.identifier as CFString, 1, nil)!
CGImageDestinationAddImage(dest, cg, nil)
CGImageDestinationFinalize(dest)
02cwebp-Befehl
# Both cut-outs at the same size, so the two layers line up exactly
cwebp -q 90 -alpha_q 100 -sharp_yuv front-cut.png -o front.webp
cwebp -q 90 -alpha_q 100 -sharp_yuv -resize 1536 2048 back-cut.png -o back.webp
03Seiten-Prompt
Build one page with plain HTML, CSS and vanilla JavaScript (no framework, no build step): a site header plus a full-screen hero called "Navy Rider" for the fictional rider "Jun Park-Seo". Inline <style> is fine; the script lives in its own file navy-rider.js. Everything is self-hosted.

ASSETS (./assets/)
- front.webp: the man in a white t-shirt and black trousers, transparent cut-out, 1536 × 2048 (3:4), hips at the bottom edge.
- back.webp: the same man, same pose and framing, in a glossy midnight-navy helmet with a blue visor and a navy leather racing jacket with white stripes and star patches. Same size and alignment.
- inter-tight-latin.woff2 (variable). Preload both images and the font.

TOKENS
Ink #0a1022, muted #5b6680, ghost #b9c3d4, hairlines rgba(15,35,80,.16), accent #0f2350 (deep midnight navy). Mono labels: ui-monospace, 11px, uppercase, tracking .08em. The background stays light so the navy gear stands out while it is revealed.

BACKGROUND
A soft mesh gradient: white light behind the upper body, periwinkle top left, ice blue top right, a navy haze rising from the bottom, base #f1f4fa → #e2e8f3. Above it a light layer that drifts slowly (26 s, transform only, no filter), a fine dot grid (1px dots every 28px) masked to fade towards the edges, and five 1px speed lines that streak across at different heights and delays.

HEADER (fixed)
Wordmark "Jun Park-Seo" (16px, 600) with a mono "N°03" beside it, no logo tile. Nav: Rides · Lookbooks · Journal and a navy "Say hi! ↗" button. No shadows anywhere.

HERO (100svh)
- Two uppercase marquee rows behind the figure: "RIDE AFTER DARK" as a 1px outline moving left (38 s) and "RIDE DEEP STAY BOLD" in ink moving right (32 s), with "Deep" in navy. clamp(54px, 9.6vw, 168px).
- Figure: bottom-centred, height min(94svh, 133vw), 3:4. A hidden <img> holds the front and its alt text; a <canvas> paints both layers. Behind the head a thin ring with a dashed inner ring and a navy dot on a 14 s orbit.
- Spec notes pinned to the figure with a pin and a hairline leader: "Helmet / 01 · Gloss midnight" right of the head, "Racing jacket / 02 · Navy leather" at the right arm, below the marquee. A pin fills navy while the trail passes it.
- Bottom left an intro: mono eyebrow "FW27 Drop — 12 pieces", "Gear for the hours / after dark." (second line navy), one sentence, an ink "Shop the drop ↗" button and an underlined "View lookbook". Below it the hint: navy dot + "Move your cursor to suit up".
- Right edge a vertical mono label "Built for the late ride". Bottom right a white pill "Navy Rider · FW27" with a thin meter and a percentage: how much of the silhouette is revealed right now.
- Cursor (fine pointers only): a flat 14px navy dot with a mono readout "X 0.44 · Y 0.38" in figure coordinates.

REVEAL EFFECT
- A brush trail follows the pointer. Inside it the front is erased completely and the rider shows — the front never shows through.
- Each stamp is 3–5 overlapping hard-edged circles (base = max(W, 260) × 0.12, × 0.15 on touch), so edges look torn. Fast moves are filled with intermediate stamps every max(W, 260) × 0.04 px (max 40). A stamp holds, then shrinks during the last 75 % of its 1100 ms life.
- Two offscreen canvases: mask (the trail) and buf (back clipped to the mask). Per frame: front cover-fit and bottom-anchored, erase with the mask (destination-out), then draw buf (mask, then back with source-in). Canvas = figure size × min(devicePixelRatio, 2), imageSmoothingQuality high.
- Meter: compare the mask against the front's alpha on a 30 × 40 grid, at most every 120 ms.
- Touch detection is live via matchMedia("(hover: none), (pointer: coarse)"); the hint switches to "Drag to suit up". On touch, after 2.5 s without input the trail wanders on its own.
- Loops run only while the hero is visible and the tab is active. prefers-reduced-motion: marquees, drift and orbit stand still, no speed lines, no wandering.

BELOW 1080px hide notes, intro and side label. PHONE (≤ 720px): nav with logo and "Say hi!" only, figure width min(160vw, 64svh), tag hidden, the hint as a centred white pill. No horizontal scroll.

Was die Demo zeigt

  • Zwei deckungsgleich generierte Bilder, übereinandergelegt in einem Canvas — innerhalb der Spur wird das vordere vollständig ausgeschnitten, nicht nur überblendet
  • Jeder Pinseltupfer besteht aus drei bis fünf überlappenden Kreisen mit harter Kante, dadurch wirken die Ränder gerissen statt rund
  • Schnelle Bewegungen werden mit Zwischenstempeln aufgefüllt, die Spur bleibt durchgehend
  • Annotationen an Helm und Jacke leuchten auf, wenn die Spur über ihren Punkt läuft; unten rechts zeigt eine Anzeige, wie viel vom Outfit gerade aufgedeckt ist
  • Zwei gegenläufige Laufbänder hinter der Figur, ein Ring mit kreisendem Punkt, feine Speed-Lines und ein langsam wandernder Farbverlauf
  • Auf dem Handy eine eigene Anordnung: größere Figur, Bedienhinweis als Pille, die Spur wandert im Leerlauf von selbst
  • Alles läuft nur, solange die Demo im Bild ist; bei „Bewegung reduzieren“ stehen Laufbänder und Verlauf still

Woher Bilder und Bewegung kommen

  • Person, Name und Kollektion sind erfunden.
  • Beide Bilder sind KI-generiert: das Porträt mit Higgsfield (Soul 2), die Rider-Variante daraus mit Qwen Image Edit; freigestellt mit macOS Vision.

Kontakt

Lassen Sie uns
Ihr Projekt
besprechen.

Schreiben Sie mir eine Nachricht oder füllen Sie das Kontaktformular aus. Ich melde mich innerhalb von 24 Stunden.

Paul Mill

Paul Mill

hallo@paulmill.com