Cake customization tool · rendering direction · 25 Aug 2026
The same pastel-green three-tier drip cake, rendered five different ways in one afternoon — plus the competitive landscape and a decision framework for where the builder's visuals should go next.
Part one
The April build (franticc-backup/cake/index.html) is roughly 2,000 lines of hand-tuned canvas code that produce exactly one cake. Seen fresh, the problem isn't vague "cartoon-ness" — it's five specific, fixable-sounding-but-structural things:
The deeper structural issue: in this approach every new decoration type is another few hundred lines of bespoke drawing code. The marginal cost of growing the decoration library is enormous — and that library is the product.
Part two
To separate "the medium can't do it" from "we executed it badly," I rebuilt the same cake spec — cream striped tiers, pastel-green drip, piped pink dollops, cherries — in four other technologies. Every image below was produced today, from scratch, in a few hours total.
The result in one sentence: effort and quality ran in opposite directions — the approach that took 2,000 lines produced the flattest cake, and the approach that took 200 produced the most convincing one, because lighting, curvature and occlusion come free with real 3D and must be hand-faked everywhere else.
Round two · 25 Aug 2026, evening
Fair critiques of round one: the Three.js render was too bright and flat to judge, Zdog's shapes are monochromatic by nature, and nothing showed texture. Round two is the same technology with better craft — a proper three-light rig (warm key, cool rim, low fill), procedural bump maps painted onto canvas at runtime (palette-knife streaks for buttercream, fine crumb noise for sponge), restrained reflections, instanced sprinkles, and a glossy-ganache variant. Still ~350 lines. Still no Blender, no downloaded textures, no post-processing — this remains the floor of what the approach produces, not its ceiling.
These renders are procedural primitives. Production quality comes from a known ladder, each rung cheap and additive:
ContactShadows / AccumulativeShadows) — grounding, weight, the "sits on the table" feel.The benchmark test · 25 Aug 2026, night
The bar Zain set: Design Connected's chocolate icing cake — a professional offline render (V-Ray class). Verdict first: yes, at web resolution — and the wireframe on that very page is the proof. Their own preview shows the model naked: it is a dense hand-sculpted mesh. About 70% of what makes that image delicious is geometry authorship (fat drips sculpted with rounded lips, torn sponge edges, cloth-simmed napkin) and most of the rest is one big soft studio light on good PBR materials. A mesh like that exports to glTF and renders in a phone browser today; nothing in the image is exclusive to an offline renderer except the last few percent of light transport.
On giving up multiple angles: unnecessary — that trade buys nothing here. The quality lever is asset authorship, and an authored asset renders from every angle for free; rotation costs no realism. What a fixed hero angle does buy is composition: the food-photography framing, depth-of-field, crumb styling on the plate. The sane design is both: free rotation while building, one art-directed hero angle for the money shot.
Part three
Three different questions hide inside that one:
1 · CSS 3D transforms (preserve-3d). Far enough to amaze on CodePen, not far enough to sell a cake. It composites flat rectangles in space: curved surfaces exist only as seamed prisms, there is no lighting model, and no shadows pass between objects. The best CSS 3D artists alive — Keith Clark, Amit Sheen, Ana Tudor — produce faceted papercraft, and the best pure-CSS 3D cake on record shows gapped panel cylinders and billboard toppings. When a medium's best-ever work sits below your minimum bar, the question is answered.
2 · CSS-styled SVG. Much further — as flat illustration. Fully parametric, crisp at any size, real text support, and the bake-off shows it can be genuinely pretty. But it is a picture, permanently. (Also worth knowing: most famous "CSS cakes," and all of Lynn Fisher's single-div art, are 2D paintings — the community itself routes around CSS 3D for organic objects.)
3 · CSS as a shading toolkit — gradients, ellipses, shadows. This is the same visual algebra the canvas build used, and it fails the same way: pseudo-3D heuristics don't survive contact with glossy, volumetric, organic material like frosting. The failure was the approach, not the canvas element.
Part four
Every viable rendering direction, scored for this product: a cartoon-styled builder with tiers, drips, piped borders, free-placed decorations and text, mobile-first, with a growing decoration library.
| Approach | Visual ceiling | Rotation | Effort to good | Cost per new decoration | Fit |
|---|---|---|---|---|---|
| Canvas 2D algorithmicthe current build | Clipart — looking good requires writing an actual 3D engine (Kevs3D proves it's possible and pointless) | Faked per angle | Very high | Very high — bespoke code each | 1/10 |
| SVG illustration | Beautiful flat art; parametric; real text | None | Medium (art-led) | Medium — draw each sprite | 6/10 |
| CSS 3D transforms | Faceted papercraft (best-ever cake) | Real | High and thankless | A research project each | 2/10 |
| Zdogzzz.dog · 28KB | Charming flat-shaded cartoon 3D (community cake) | Real | Low–medium | Low — compose primitives | 7/10 |
| Pre-rendered spritesBlender renders, layered PNGs | Photoreal at fixed angles (Cylindo; old NIKEiD — which Nike abandoned for real-time 3D) | 4–12 fixed angles | Medium code, high asset pipeline | High — render matrix × angles × colors | 5/10 |
| Three.js / r3fWebGL · toon or soft shading | Effectively unlimited, including soft-cartoon (BakerInbox ships your feature list on it) | Free | Medium–high | Medium → low once the primitive/asset library exists | 9/10 |
| Splinespline.design · no-code | Its native look is soft pastel 3D (community #cake tag) | Free | Hours to gorgeous; medium-high to full configurator logic | Medium — variables system strains at deep parametrics | 7.5/10 |
| Native appUnity / SceneKit | Same as WebGL for this class of visuals (see Real Cake Maker 3D) | Free | High + store friction, lost web funnel | Same asset pipeline as WebGL | 3/10 |
| AI image generationBasedLabs and peers | Gorgeous single frames; drifts between edits, 5–45s latency | n/a | Low to demo, unsolvable consistency | Zero — but every edit costs inference | 2/10 as the loop6/10 as a final "glamour shot" |
Part five
Verified today, by loading the actual products (several block bots; those were driven in a real browser and their rendering stack read from the DOM).
Walmart and Sam's Club run the same play with a bespoke 2D canvas compositor (confirmed in-DOM: a single canvas-image element, no 3D libraries): wizard steps, photo-composite preview at a fixed angle. Walmart · Sam's.
Dairy Queen, Baskin-Robbins, Carvel: design galleries, photo upload, form options — static photos or light compositing, no builder canvas at all.
Why they converged here: their SKUs are photographed sheet cakes with edible-print toppers. Photo compositing is cheap per SKU and photoreal. It also means none of them can do what your tool does — arbitrary tiers, drips, free-placed decorations.
Also in this tier: ProCake (baker SaaS, 3D quoting), Bakely (native app, 3D wedding-cake visualizer, ~200k users), Cakenote (2D/3D/AI design inside bakery management). Configurator platforms (Zakeke, Threekit) showcase shoes and sofas — no one has claimed food. Open source has nothing serious to build on.
The Indian delivery market — your launch market — runs entirely on catalog + photo-upload. Nobody renders anything.
Combined with the US picture, the strategic read: a consumer-facing 3D cake builder wired to a real order pipeline does not exist anywhere yet. The rendering decision is also a positioning decision.
Part six
Six things actually matter for this product, in this order: does it read as a cake · marginal cost of growing the decoration library · parametric freedom (any size, any color, free placement, text) · mobile reach (share a link, no install) · drag-and-drop fit · one person can build it. Weigh those and the space collapses to a handful of honest branches:
The bake-off's best result in the least code; BakerInbox proves the full feature list ships on it solo; toon/soft materials land exactly the chosen cartoon aesthetic; drag-and-drop is standard raycasting; runs on low-end Android. Cost: the Blender + lighting learning curve — the highest floor of the web options, and worth it.
Bullseye aesthetic, everything parametric by construction, trivial on mobile. You will eventually hit: no lighting, weak text, z-sorting glitches as scenes grow — and a rewrite lands you at Three.js anyway. Fine as a stepping stone if speed-to-demo beats longevity.
Spline's native soft-pastel style is the target look; use it to lock art direction fast (its community is full of cakes). Its variables system strains under deep configurator logic, so treat it as the design tool, not the engine.
The at-scale players' territory, and Nike's abandoned one. Its superpower is photorealism — which is explicitly not your aesthetic — and you'd inherit a combinatorial render matrix. Named so it's clear it was considered and why it loses.
Cake-game apps reach exactly the quality mobile WebGL reaches. Going native costs the share-a-link funnel that a "design it, send it to a bakery" product lives on. Revisit only for AR place-on-table (and even that has a web path via model-viewer).
5–45s per edit and design drift between generations kill the interactive loop, and the preview stops being a buildable spec. The sane hybrid: img2img over a WebGL screenshot at checkout — geometry anchored, one-time cost, pure delight.
Part seven
The JSON design schema from the scoping doc stays exactly as it is — it's rendering-agnostic and becomes the single source of truth that the Three.js scene renders from. Concretely:
Honest risks: the learning curve is real (lighting and materials judgment, some Blender); the first two weeks will feel slower than canvas hacking did. Mitigations: the spike proves the pipeline before commitment, BakerInbox is a living reference of the destination, and every sub-problem (configurator, raycast placement, toon shading) has canonical tutorials — e.g. Codrops' color-customizer walkthrough.
All five bake-off demos were built 25 Aug 2026 against the same cake spec; competitor screenshots captured the same day from live products. Demo files: three-cake.html, zdog-cake.html, css3d-cake.html, svg-cake.html plus the original build, in the session scratchpad. Competitor rendering stacks verified in-DOM (Fabric.js at cakes.com; Three.js at BakerInbox; bespoke canvas at Walmart/Sam's). Full source list: DecoPac/cakes.com · Walmart · Sam's Club · Dairy Queen · Baskin-Robbins · Carvel · BakerInbox · ProCake · Bakely · Cakenote · Vectary · Zakeke · Cake Ann · Bakingo · FNP · zzz.dog · Keith Clark · singlediv · Kevs3D · Cylindo · Threekit · Nike By You · Spline · model-viewer · BasedLabs.