The candle maker now lives inside the pumpkin app. Open Display, then Candles → Make a candle. You can also launch the earlier standalone prototype below.
Launch the study to shape a candle and scrub through its burn. Close releases the 3D scene.
Make it where you will use it.
We wanted to make the candle in the setting where it would sit. The app puts the pumpkin aside while you work. Done places the candle beside it as one undoable edit. Back leaves the display as it was. Tap a saved candle and choose Customize to keep working.
The maker and display use the same builder, so the candle you edit is the one that returns. The camera widens to fit it. Shape, wax, wick, cuts and burn state travel with the pumpkin’s versioned share data, including upgrades for older links.
New forms from familiar controls.
We started with five bases: pillar, taper, votive, sculpted candle and hollow luminary. Underneath, they share a body generator derived from the pumpkin’s lobe sampler. At each height it starts with a radius, applies taper and a smooth waist or belly, then samples the ribs around that section. Twist rotates the section as it rises. That lets the same controls make a straight fluted pillar or a narrow spiral without storing a separate mesh for every combination; handles edit the recipe directly.
The pumpkin’s stem curve became a wick at a much smaller scale. Length and curl give the flame its place and direction. Cotton braid, square braid, cored, wood and hemp options vary its appearance and flame behavior.
The builder supports one central wick and bodies shaped around an axis, including ribs and twists. Each base gets suitable dimensions and grips, such as a movable belly or top profile. Multiple flames and arbitrary figurines would need more work.
Burning changes more than the flame.
Scrub through a burn and several connected shapes change. The model lowers the pool according to the recipe’s burn rate and widens it toward the reach allowed by the wick. Until that pool is established, the original rim stands above it. A wick with too little reach keeps a tall wall and tunnels down the middle; a broader pool leaves a lower shell. Late in a pillar’s burn, that shell softens into a shallow, uneven cup. We wanted the changing wax to tell the story as much as the flame does.
Wick size offers Under, Right and Over. In this model, exposed wick length acts as a proxy for size: it changes flame scale, burn rate and the pool’s reach. It is an authored coupling, not a claim that trimming a real wick changes its gauge. Draught runs from Still to Windy. It leans the flame, shifts the pool toward that side and lowers the nearby rim, making breaches and runs more likely there. Changing the draught therefore changes both the flame and the shape it leaves behind.
Wax and color stay separate. Paraffin, soy, beeswax, coconut, palm and stearin have different burn, drip, frost and glow settings. Picking a color should not quietly change how the candle burns.
The hour control evaluates an authored burn state from the recipe, time and seed. Returning to an earlier hour reconstructs that state; it does not try to reverse a heat simulation. The broad wick behaviours follow CandleScience’s wick-size comparisons; shell-growth curves, overflow amounts and event timing are chosen for these forms. The model does not solve heat flow through the whole candle or predict a real candle’s lifetime.
The same ivory paraffin recipe at three points in a Windy burn, captured with the app’s time-lapse stepping API. The times are model hours.
Glow needs to preserve the shape.
Our first glow hid too much of the surface. A drip could glow as brightly as the wall behind it and lose its raised edge. We separated the satin body, glossier set runs and almost mirror-smooth pool. Mottling, frost and crystal patterns add quieter differences between waxes.
Light passes through the rim’s remaining wall. Below the pool, colour fades with an estimated path through the wax, using separate red, green and blue falloff so the upper cream gives way to warmer, darker wax. We measure sideways distance beyond the pool as well as depth below it. Late in the burn the pool is near the holder, so the earlier vertical-only estimate treated the distant puddle as close to it and made it glow like the rim. Including that sideways journey lets the puddle darken while the thin shell stays bright.
A small directional shading term keeps the relief readable. Upward-facing surfaces gather more glow; the underside of a bead stays darker. We adapted the wrap-lighting approach in GPU Gems’ subsurface-scattering chapter by Simon Green, then tuned its strength and color for these candles.
These are shortcuts for single-wick forms. The near-flame glow does not trace through intervening wax, and the pool and shell use simplified distances. A solid sculpture would need a different treatment of light passing through it.
Give the flame depth without too much work.
The newer flame samples density along a ray through a small volume. Rising noise changes its shape; a temperature-inspired color ramp runs from orange edges to a pale core. We borrowed a precomputed 3D noise texture and a varied starting offset from the Three.js volumetric fire example.
Looking up that texture avoids calculating noise again at every step. Varying the starting offset helps hide bands with fewer samples. The app normally uses 18 steps and can drop to 12 through a uniform, without rebuilding the shader.
We kept an emission-only ray march rather than the example’s full fluid simulation. Shape, color and movement are authored. Recent lighting studies keep the glow close to the flame and below the pool, leaving more of the room dark.
Made candles share materials and prepare their shaders before use. Detailed solid geometry is baked in small slices after an edit. Each addresses a different pause: preparing the program, rebuilding the shape or drawing the flame every frame.
The light has to move with the flame.
A moving flame feels disconnected if the wax and light on the ground pulse to a different rhythm. One seeded flicker sample coordinates the made candle’s flame height and tint, its wax glow and its pool of light. The candle maker also derives its nearby point light’s brightness from that sample, so the shape and lighting cues agree.
Display can hold several made candles. Their ground pools stay local, while their fill is combined into one unshadowed light for the group. That keeps the light count bounded, with an approximation: it cannot cast a separate, accurate shadow from every candle.
Keep the halo close to the hot parts.
A broad halo can wash out a night scene. The app keeps the scene’s bright values for bloom, then applies a threshold so the hottest regions feed a tighter glow. Depth of field uses a separate image with its brightness capped to keep those highlights from spreading into large white blurs. The threshold sees the whole scene, including bright cut openings, rather than a mask for the flame alone.
This glow also needs a budget. Its blur runs on a smaller image and updates every other frame; the app can disable it for the session when a phone cannot keep up. These are choices in the app’s night view, alongside the flame’s own ray march, rather than a physical simulation of lens glare.
How the app prepares shaders and GPU work around interaction ↗
Make the drips part of the surface.
For running wax, we reused our particle slurry solver. We unwrap a small patch of candle wall into a flat frame: across the candle, down the wall and out from its surface. Particles pour from a rim breach, cling to that wall and lose heat to the air and contact surface. As they approach the wax’s freezing point they slow; below it, we pin them in place. Gravity is split along and across a tapered wall, but the model ignores sideways rib relief and the curvature across a run. Its cooling rates and incoming temperature are authored, rather than a calibrated thermal solve.
We bake each frozen run into stations recording its path, width and thickness. The burn slider then reveals the run and trims away the top as the candle burns below it. Wax reaching the holder settles in arrival order, with nearby earlier runs already frozen beneath it. We settle that history once and reveal only the runs that have arrived by the chosen hour, rather than starting another fluid simulation at every slider position. The puddle uses a simplified round foot; votives retain their wax inside the glass.
The visible solid combines the shaped body, the pool cut out of its top, the lowered rim and the frozen runs. Each run becomes a continuous chain of rounded segments, blended into a signed distance field, a grid whose values estimate distance to the wax surface, with the sign distinguishing inside from outside. Carving and scraping subtract from that same field. Marching cubes then builds the boundary into a mesh, so the foot can flow into its puddle and a later cut can pass through a drip as well as the body beneath it.
The grid still limits what that common surface can hold. Its spacing is chosen from the candle’s size; a detail thinner than about two cells can soften or disappear. A very thin lit rim broke into teeth in an earlier close-up, so the detailed builder keeps a wall thick enough for its samples. Extending the box for a wide puddle also used to coarsen every cell and flatten the raised runs. The revised grid keeps the body’s spacing and pays for the additional puddle cells instead.
Rebuilding that detailed solid at every pointer move interrupted shaping. A quicker mesh now follows the drag. Once the control rests, drip preparation and meshing run in small slices, and the completed solid replaces the preview. Each rebuild carries a token: if another edit arrives before the bake finishes, the old result is discarded. Otherwise a slow job for an earlier width could replace the candle the person has just made. Immediate gesture feedback and a detailed settled surface need both scheduling and that check on which recipe owns the result.
Save something you can keep changing.
The recipe stores shape, wax, wick, cuts and burn state with an explicit version. Drip events use the seed and event index, so revisiting an hour keeps the same breaches instead of drawing a fresh random set. A share link carries those choices; another browser rebuilds the candle without downloading its mesh. Versioned decoding upgrades older records before rebuilding, while the app carries each candle recipe with its pumpkin. The saved object remains editable, although a future renderer can change its pixels.
Taking a photo saves its thumbnail and recipe in this browser’s gallery. The gallery stays on this device; use a share link to send an individual design elsewhere.
This started as a way to see how far the pumpkin tools could go. The body controls and wick curve came from the pumpkin, scraping contributes surface and solid experiments, and melting gave us a new set of material and motion problems to solve.