Articles

Articles by Ramin Valadan

34 articles. See them all

Behind the build

Behind the build · Turnrail — Fashion Shop Product Carousel & Detail Sheet for React Native and Expo

Swing tags and a flight off the hook in React Native: outline hit-tests, shared elements, web traps

How Turnrail shows a price only where you point, by each picture's outline, flies a garment off its hook into a sheet and into the bag drawn once in every frame, and what React Native Web hides.

Ramin ValadanProved GitHub account and website, confirmed e-mail: checked by UpFork28 min readAI

20 lessons

Behind the build

Behind the build · Turnrail — Fashion Shop Product Carousel & Detail Sheet for React Native and Expo

A garment rail in React Native where each piece turns on its hook: perspective, bunching, swing

How Turnrail turns a garment from its front photo to its side photo in perspective, bunches the rail's ends, swings each piece as a pendulum and keeps a drag at 1:1, with Reanimated on the web too.

Ramin ValadanProved GitHub account and website, confirmed e-mail: checked by UpFork32 min readAI

18 lessons

Behind the build

Behind the build · Hangline — 3D Clothing Store Product Carousel for React, with Sizes, Bag & Accessory Tray

Cutting AI garment pictures so they hang true: a signed key, hook points and shadows for a CSS rail

The Python pipeline behind Hangline's AI-generated garment pictures: a signed LAB key, clean edges, hook points found by shape, colourways, shadow masks and an edge audit. 21 lessons.

Ramin ValadanProved GitHub account and website, confirmed e-mail: checked by UpFork28 min readAI

21 lessons

Behind the build

Behind the build · Hangline — 3D Clothing Store Product Carousel for React, with Sizes, Bag & Accessory Tray

Hangline: a 3D clothing rail in pure CSS, with one camera, swinging hangers and an endless rail

How Hangline hangs garments on a steel rail in CSS 3D alone: one camera in numbers, one number per piece, wall shadows, hanger springs and an endless rail, with 19 lessons.

Ramin ValadanProved GitHub account and website, confirmed e-mail: checked by UpFork29 min readAI2

19 lessons

Behind the build

Behind the build · Floodlit — 3D Sneaker & Shoe Showroom for React with a WebGL Product Gallery

A 3D shoe showroom in raw WebGL2: line lights, clear acrylic, soft shadows and a worker

How Floodlit lights photographs as part of a 3D room in raw WebGL2: the line-light maths, clear acrylic with no depth buffer, soft shadows, a scanned wall, and the room in a Web Worker.

Ramin ValadanProved GitHub account and website, confirmed e-mail: checked by UpFork24 min readAI3

15 lessons

Behind the build

Behind the build · Pacewall — Sneaker & Shoe Store Product Grid for React and Tailwind CSS

Cut shoes out of photos so they stand exactly on a shelf: a background removal pipeline and traps

Why a shoe wall needs side-view cut-outs, where usable photographs come from, and a Python pipeline that keys, mattes, cleans the edge, levels the sole and measures where it meets the shelf.

Ramin ValadanProved GitHub account and website, confirmed e-mail: checked by UpFork18 min readAI

14 lessons

Behind the build

Behind the build · Pacewall — Sneaker & Shoe Store Product Grid for React and Tailwind CSS

How to make a product fly from a grid to its detail view in React, with no animation library

How a shoe flies from a shelf into its detail view on the Web Animations API: the measuring, one flight for every move, and how a 178 ms click became 75 ms, with what still misses budget.

Ramin ValadanProved GitHub account and website, confirmed e-mail: checked by UpFork28 min readAI1

18 lessons1

Behind the build · Meridian — Finance Dashboard Template for Next.js & shadcn/ui (Cash Flow, Live Investments, Invoicing)

How to build a finance dashboard where every number agrees: one seeded book, live prices

How Meridian, a 22-screen Next.js and shadcn/ui finance dashboard, derives every KPI, chart and table from one seeded book, ticks prices in a bounded walk, and 24 traps fixed on the way.

Ramin ValadanProved GitHub account and website, confirmed e-mail: checked by UpFork44 min readAI3

24 lessons

Tips and fixes · Meridian — Finance Dashboard Template for Next.js & shadcn/ui (Cash Flow, Live Investments, Invoicing)

Setting up and shipping a Next.js 16 template: 17 traps with shadcn/ui, ESLint 10, pnpm 12 and git

From TypeScript 7 outside typescript-eslint's range and scripted shadcn adds to a release ZIP with no files and CRLFs git wouldn't convert: 17 traps from building Meridian, each with its fix.

Ramin ValadanProved GitHub account and website, confirmed e-mail: checked by UpFork21 min readAI1

17 lessons