
Tapio
A bubble tea store built around one live 3D cup you can sip, shake and dive into, where every flavour repaints the whole page.
The live preview runs real 3D in your browser, so on this device it can take longer to appear and scroll less smoothly. The video above shows the full site.
A complete store for TAPIO, an invented bubble tea brand, built around one cup drawn live with three.js. The cup is made in code, not modelled: clear plastic that really refracts the page and the giant word behind it, a domed lid, a fat straw, condensation that beads and runs, a layered drink that sloshes, and brown sugar pearls, popping boba, coconut jelly and ice that move with real physics. It opens empty and fills from a pour. Press and hold it to sip and the pearls ride up the straw, drag to spin it, shake it, and scroll down from the hero straight through the lid into the drink, past pearls the size of planets and slow clouds of syrup, then out through the surface. Real 3D fruit tumbles round the cup, is carried by the pointer, and a click anywhere throws fruit and a splash of drink from that point. Six flavours each own the page, with their own colours and their own 3D weather: strawberries that halve in mid air, a green matcha whirl, violet taro clouds, caramel running down the cup, a mango sunburst, falling rose petals. Switching flavour is an explosion: the cup spins, the old drink blasts out of the top, a sheet of the new colour floods the screen and the cup lands full. Below the hero sit four big lines on the ingredients, the flavours stage with the name huge behind the cup, a builder where every size, sweetness, ice and topping lands in the cup as you pick it, three shops with live open hours and a drawn map, and a sign-up. A menu page with filters and product sheets, a bag that remembers, and a checkout for pickup or delivery with time slots that hands the order to your own system and never takes a card. Sounds are synthesized in the browser and stay off until the visitor turns them on. Phones get their own framing and a lighter tier; a browser without WebGL gets a drawn cup with the ingredient photos and a fully working shop. For bubble tea and boba shops, cafes, juice and smoothie bars, drinks brands and any food business with a hero product and a menu.
How it's made
A cup that refracts
The cup, lid, straw, drink and toppings are lathes and sweeps in code, with no model file. The frame is drawn in four passes and copied between them, so the cup's far wall and then its near wall each bend what is really behind them, including the giant word on the wall. A dark studio drawn in code gives the plastic its long strip highlights.
Physics inside the drink
Pearls, popping boba, jelly and ice live in the cup's own space: gravity follows the cup's lean, the liquid drags and lifts them, they knock into each other and the walls, and a sip pulls pearls up the straw one at a time. The drink's surface is one formula shared by the liquid and the plastic, so the liquid line on the wall always matches.
Fruit from photos
Each ingredient was generated as a studio photo, cut out, and lifted into 3D with an image-to-3D model, then simplified and compressed to 140 to 600 KB. The mango came back looking like foil, so it is built in code. Leaves and petals are cut from the same photos into one atlas and drawn as curved, lit sheets.
Each flavour owns the page
Eight colours per flavour drive the drink, the 3D effects, the giant word and the whole page through CSS variables that fade. On a switch the stage fires an event with the splash's screen point and timing, and the page floods its own ground from there, so the DOM and the 3D change colour together.
One table for the scroll
A single table says where the cup sits in each of the five chapters, on desktop and on phones. Smooth scroll and one animation loop blend between the rows, the fruit keeps out of each chapter's copy, and between the hero and the next chapter the camera dives into the drink and back out.
A shop that hands off
Builder, menu, bag and checkout run on one small store that remembers the bag. The sign-up and the order leave the browser through one file that sends nothing until you set two environment variables; your endpoint can answer with a hosted checkout link and the visitor is sent there.
Speed and fallbacks
Three quality tiers with a governor that steps down when frames run long, about 23 shader programs compiled before the first frame, and the 3D loaded as its own chunk after the page paints. Without WebGL the page swaps in a drawn cup with two ingredient photos, placed by the same scroll.
In this kit
src/
Full source. The complete site as its own project, ready to run.
public/
Media and assets. The images, clips, textures and icons the page loads.
bench/
tools/
Helper scripts. Small scripts that come with the kit, like page checks and model exports. The README says what each one does.
index.html
package.json
package-lock.json
vite.config.ts
tsconfig.json
.env.example
.gitignore
README.md
Start here. What's inside and how to run it.
HOW-IT-WAS-MADE.md
How it was made. The build step by step, and a recipe to make your own.
ADAPT.md
Adaptation prompt. Fits the kit to your client's brand in an AI builder.
RESKIN.md
Re-skin guide. Colors, type, copy and media, changed file by file.
PROVENANCE.md
Provenance. Where every model, texture and image came from.
THIRD_PARTY.md
Open-source credits. Every library and font inside, with its license.
LICENSE.md
Commercial license. Unlimited client projects, one person per license, no resale.
Specs
- Stack
- Vite 8.3 · React 18.3 · TypeScript 5.9 · three.js 0.186 · GLSL shaders · Lenis smooth scroll · Web Audio API with synthesized sound · Plain CSS · Fraunces · Instrument Sans and Unbounded (self-hosted)
- File size
- 3.2 MB
- Triangles
- 255,413
- Browser
- Needs WebGL 2: current Chrome, Edge, Firefox and Safari on desktop and phones. The stage starts on a high, mid or low tier and a governor steps down when frames run long. Without WebGL, or if the 3D fails to load, the page shows a drawn cup with the ingredient photos and every chapter, the menu, the bag and the checkout still work. Reduced motion skips the pour and the dive and calms the effects. Sound needs a click and is off by default. Tested from the build in headless Chrome on a desktop GPU at 1440 x 900 and 390 x 844, with WebGL off and with reduced motion: every control driven (sip, shake, spin, flavour switch, builder, bag, checkout, menu, sign-up), no errors, no failed or outside requests, no sideways scroll. Not yet tested in Safari or Firefox, on real phones or on a weak GPU, and nobody has listened to the sounds yet.
- Released
- Nov 2026
- Version
- 1.0.0
From download to client site
Buy it, or get it with a plan
Buy this kit on its own, or get every kit in the collection with a plan.
Download the zip
It shows up in your library as soon as payment goes through. Up to 10 downloads a day, and each link works for 10 minutes.
Run it
Unzip it, run npm install, then npm run dev to open the site on your machine. You need Node.js 20 or newer. The README says how to build it for any host.
npm install && npm run devMake it your client's
Hand ADAPT.md to your AI builder (Claude, ChatGPT or Cursor) with the client's brief, or follow RESKIN.md to change colors, type, copy and media by hand. HOW-IT-WAS-MADE.md shows how to build their product the same way.
Unlimited client projects, one person per license, no resale. Read the license
Design, copy, motion, effects, the sound and the code by Designed by Parallel, LLC, built for this kit. The cup, drink, toppings, ice, mango and every effect are built in code. The four fruit models started as studio photos generated with an AI image model (GPT Image 2.6 through Higgsfield) and were turned into meshes with Tripo H3.1 through Higgsfield; the ingredient photos were generated with GPT Image 2.6 and FLUX.2 Pro through Higgsfield and cut out with Higgsfield's background remover. All were made for this kit and show invented produce, not any brand's product. The mood came from a reference landing page for another drinks brand; nothing from it was traced, sampled or copied, and the name, words, type, layout and product are new. TAPIO and every price, shop and hour on the page are placeholders; no trademark search has been run. The fonts are self-hosted under the SIL Open Font License. Written with an AI coding assistant (Claude Code) under Parallel's direction.
Buy LM-63 Tapio
Single kit
Price: $49once
Included with Annual and Lifetime.
Pay on Stripe. You don't need an account to pay.
Your receipt comes by email, and the kit is saved under the email you paid with.
Download it from your library. New here? Make your account with that same email. Up to 10 downloads of each kit a day; each link works for 10 minutes.
Haven't downloaded anything yet? Email us within 14 days for a full refund.