Outfit Carousel - Shop the Look Runway
← All projectsA one-screen fashion storefront built around a turning runway. Six full-body looks stand on a 3D ring, and the visitor shops the outfit straight off the model. I am the model in all six looks.
What the visitor can do
- Drag, swipe, use the arrows or let the runway turn by itself
- Open a look and tap the numbered pins to find each piece
- Pick a size beside any piece and save it to the bag
- Add a full look and get the bundle saving
- Check out as a guest, with no account and no card
- Get a thank-you screen and a printable invoice
How it was built
- The ring is plain maths on flat cut-outs: no 3D model, no WebGL
- One catalog file drives the looks, pieces, pins and prices
- The model shots and 17 product photos were generated to match each outfit
- The server prices every order again, so a total cannot be edited in the browser
- Orders are saved to Postgres and listed on a password-protected page
- Spam guard: honeypot field and a per-visitor order limit
Tech stack
- Next.js, React, TypeScript
- Vanilla JavaScript custom element and CSS for the runway
- Netlify Functions, Neon Postgres
- OpenAI Image API, Python and Pillow for the imagery
- Netlify hosting
It runs as a demo store: orders are recorded, nothing is charged or shipped.
Overview
Outfit Carousel is a one-screen fashion storefront built around a turning runway. Six full-body looks stand on a 3D ring, and the visitor shops each outfit straight off the model, through to a guest checkout and a printable invoice. I am the model in all six looks.
The problem
Shoppers buy outfits, but most stores sell single items on separate pages. The aim was to let someone see a full look, find each piece on the body, and check out without an account, while keeping the order totals trustworthy.
What I built
- A runway you can drag, swipe, step with arrows or leave to turn on its own
- Numbered pins on each look to find every piece, with a size picker beside it
- Add a full look and get a bundle saving
- Guest checkout with no account and no card, a thank-you screen and a printable invoice
- Orders saved to a database and listed on a password-protected page
- Spam guard with a honeypot field and a per-visitor order limit
Architecture
A Next.js storefront on Netlify. The runway is a plain JavaScript custom element doing simple maths on flat cut-outs. Checkout goes to a serverless function that prices the order again and saves it to Postgres. Model and product images were generated offline.
A high-level view. Endpoints, hosts and security details are left out on purpose.
Key decisions
- 01
No 3D engine for the ring
Why: Flat cut-outs placed with plain maths look three-dimensional and load far faster than a 3D scene.
Trade-off: The looks cannot be orbited freely, only turned on the ring.
- 02
The server prices every order again
Why: A total edited in the browser is ignored, so the saved order always matches the catalog.
Trade-off: An extra round trip at checkout.
- 03
One catalog file drives everything
Why: Looks, pieces, pins and prices all come from one place, so the runway and the bag never disagree.
Trade-off: Changes need a redeploy.
Links
Runs as a demo store: orders are recorded, nothing is charged or shipped. The source code is private; I'm happy to walk you through it.