Ziehen, wischen oder mit den Pfeiltasten bedienen
Showcase · Fiktive Marke Nordlay
Lineup
Sechs Looks stehen auf einem Ring, der sich alle fünf Sekunden weiterdreht. Vorne steht das Model scharf und bewegt sich, nach hinten werden die Figuren kleiner und unschärfer. Ziehen, wischen oder mit den Pfeiltasten durchklicken: Die Demo unten ist die echte Seite, kein Video davon.
- Hero-Section
- 3D-Karussell
- Video-Loops
Anleitung
So ist es entstanden.
01/ 04
HiggsfieldSoul 2 · 9:16Models erzeugen
Sechs Ganzkörperfotos auf weißem Grund, ein Prompt je Look.
02/ 04
macOS VisionSwift
Freistellen
Hintergrund entfernen, lokal auf dem Mac, ohne Upload.
03/ 04
KlingffmpegKling 3.0 · 5 s
Bewegung
Foto zu Clip, dann vor und zurück zur nahtlosen Schleife.
04/ 04
Claude CodeHTML · CSS · JS
Seite bauen
Bilder und Clips in „assets“, Prompt an Claude Code, fertig.
Alle Prompts im Wortlaut
# 01 The City Edit Full-body fashion lookbook photo, young man with curly dark hair, arms crossed, charcoal-grey chunky crew-neck knit sweater, wide light-blue denim jeans, grey sneakers, standing straight facing camera, entire body head to toe visible with space above head and below shoes, pure white seamless studio background, soft even shadowless light, no logos, no text # 02 Gallery Opening Full-body fashion lookbook photo, young man with braids, white oversized t-shirt, very wide washed vintage denim jeans, white sneakers, standing relaxed facing camera, entire body head to toe visible with space above head and below shoes, pure white seamless studio background, soft even shadowless light, no logos, no text # 03 Gallery Opening Full-body fashion lookbook photo, young man in olive-green chunky knit sweater, brown wide-leg trousers, tan leather shoes, standing relaxed facing camera, entire body head to toe visible with space above head and below shoes, pure white seamless studio background, soft even shadowless light, no logos, no text # 04 Studio Day Full-body fashion lookbook photo, young man wearing sunglasses, plain black t-shirt, silver chain necklace, pale wide-leg jeans, white sneakers, standing relaxed facing camera, entire body head to toe visible with space above head and below shoes, pure white seamless studio background, soft even shadowless light, no logos, no text # 05 Studio Day Full-body fashion lookbook photo, young man in burgundy rust knit sweater over a white t-shirt, grey wide-leg jeans, black shoes, standing relaxed facing camera, entire body head to toe visible with space above head and below shoes, pure white seamless studio background, soft even shadowless light, no logos, no text # 06 Studio Day Full-body fashion lookbook photo, young man in light-grey crew-neck sweatshirt, light washed wide-leg denim jeans, white sneakers, standing relaxed facing camera, entire body head to toe visible with space above head and below shoes, pure white seamless studio background, soft even shadowless light, no logos, no text
// 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)The model stands in place, arms relaxed, subtle natural breathing, a slight weight shift from one leg to the other, small head turn, completely static locked-off camera, no zoom, no pan, plain white studio background stays unchanged, seamless loop feel
# Drop audio, push the background to pure white, play forwards and back (seamless loop) ffmpeg -i look-1-raw.mp4 -an -filter_complex \ "[0:v]curves=all='0/0 0.70/0.71 0.86/1 1/1',split[a][b];[b]reverse,trim=start_frame=1,setpts=PTS-STARTPTS[r];[a][r]concat=n=2:v=1:a=0" \ -c:v libx264 -crf 24 -pix_fmt yuv420p -movflags +faststart look-1.mp4 # Cut-outs as WebP in two sizes cwebp -q 82 -alpha_q 100 -resize 640 1138 cut-1.png -o model-1-640.webp cwebp -q 82 -alpha_q 100 -resize 1080 1920 cut-1.png -o original-look-1.webp
Build a single page with plain HTML, CSS and vanilla JavaScript (no framework): a site header plus a fashion hero section called "Try the Look." for a fictional streetwear brand "NORDLAY". White, clean, Helvetica for text, Inter 600 only for the header nav. ASSETS (local, in ./assets/) - model-1-640.webp … model-6-640.webp and original-look-1.webp … original-look-6.webp: transparent full-body cut-outs, 9:16, feet at the bottom edge. - look-1.mp4 … look-6.mp4: matching 10 s video loops on a pure white background (no audio). Looks: 01 The City Edit · 02 Gallery Opening · 03 Gallery Opening · 04 Studio Day · 05 Studio Day · 06 Studio Day. HEADER 88px high (68px on phones), wordmark "NORDLAY" left (letter-spacing .32em), nav Home · Women · Men · Lineup (current), a bag icon with a "0" counter. On phones hide Women and Men. 1px bottom border #e4e4e4. HERO - Frame height = viewport minus header on desktop, 109% of the viewport on phones (100% when the page runs inside an iframe). - Title "Try the Look." 46px (24px phone), weight 400, letter-spacing -.02em; subline 12px #66625c: "Six looks, styled head to toe. Drag or swipe through the lineup." - Desktop (≥750px): a 3D ring of 12 bodies (the six looks twice). For body a at angle φ = (a − cur)·30°: depth z = R(1 − cos φ) with R = 0.62W, perspective p = P/(P + z) with P = 1.65W, x = 0.5W + R·sin φ·p, feet move from the floor (H − 34px) up to a horizon at 0.36H as p shrinks, scale = p (the front model 8% larger), blur 1.8px per slot up to 6.5px, opacity fades out towards the back. - Phones (≤749px): a diagonal line instead — front model at 30% width, each further model +32% width, 22px higher, scale ×0.76, slightly blurred; every body follows its target with its own lag so the line walks. - Motion: a critically damped spring (stiffness 95, damping 2·√95), three sub-steps per frame, render loop only while visible. - When the ring rests, show the front look as a separate "hero" figure that plays its video loop with mix-blend-mode: multiply over the white stage — only if no other figure overlaps it; otherwise keep the still image. - A soft radial contact shadow under every figure, and a light sweep (soft-light band) across the stage on each change. - Controls row: prev arrow · six progress ticks "01 The City Edit" … (the current one 190px wide with the name) · play/pause · next arrow. - Autoplay every 5 s with the current tick filling linearly; pause while dragging or when the tab is hidden. - Input: drag/swipe (one look per swipe on phones, momentum on desktop), horizontal trackpad wheel, arrow keys on the focused stage, click a back figure to bring it to the front. A custom 84px round "Drag" cursor with inertia on devices with a fine pointer. - Intro: title and stage fade in with a slight blur when the section enters the viewport, while the ring turns 1.15 steps into place. - Accessibility: the stage is a focusable carousel region, a polite live region announces "Look 3: Gallery Opening", ticks carry aria-current. With prefers-reduced-motion everything jumps to its place and autoplay stays off.
Was die Demo zeigt
- 3D-Ring mit zwölf Figuren auf einer kritisch gedämpften Feder — die Drehung läuft weich aus, ohne nachzuschwingen
- Tiefenunschärfe und Perspektive nach hinten, Kontaktschatten unter jeder Figur
- Auf dem Handy eine eigene Anordnung: die Models stehen hintereinander in einer Diagonale und laufen nacheinander nach
- Autoplay alle fünf Sekunden mit Fortschrittsbalken, Pause per Knopf
- Bedienbar mit Maus, Touch, Trackpad und Tastatur; Ansagen für Screenreader
- Das vordere Model bewegt sich als Video-Loop, der vor- und zurückläuft und dadurch ohne Sprung in das Standbild übergeht
- Bei „Bewegung reduzieren“ im Betriebssystem stehen alle Figuren still an ihrem Platz
Woher Bilder und Bewegung kommen
- Marke, Personen und Kleidung sind erfunden.
- Die sechs Models sind KI-generiert (Higgsfield, Soul 2) und lokal mit macOS Vision freigestellt.
- Die Bewegung der Models ist KI-generiert (Kling 3.0) und auf weißen Grund nachbearbeitet.


