Yellow, blue, and crimson watercolor glazes overlapping on textured paper.

Watching paint dry

Bloom Sketches simulates water movement, pigment transport, paper absorption, and drying after a watercolor stroke. This article describes the research, experiments, and Metal implementation behind that simulation.

Water and paper state

A brush texture describes the initial mark but does not model water transport, wet-on-wet interaction, or pigment settling. These effects require water and paper state separate from the rendered stroke.

The early design started with a CPU-based grid: separate fields for paper height, absorbency, velocity, pressure, and wetness. The central idea was to keep water and paper state separate from the final image, so a wash could continue evolving after the brush lifted.

Research references

Research references informed the design of Bloom's watercolor engine. Its implementation covers brush behavior, water and pigment transport, paper response, and GPU processing.

One reference 1 describes watercolor in terms of moving water, pigment, paper, and translucent glazes. Its examples of edge darkening, granulation, backruns, and glazing provide useful terms for studying how a wash develops.

Other references 2, 3, and 4, alongside 5, cover watercolor appearance, brush interaction, and procedural surface texture.

The bristle-scale simulation 3 studies interactions between brush bristles, paint, and canvas. Its GPU simulation combines particles near the brush with a density field farther away. It informed our study of how brush contact shapes a painted mark.

Watercolor experiments

Much of our development work happens in small washes: changing flow, pigment load, settling, and edge behavior, then watching the result unfold. Parameter sweeps and timed captures let us compare those decisions, refine the simulation, and return to the same test as the engine evolves.

A single final image can hide the reason a wash looks the way it does. A sequence helps separate the initial brush deposit from later transport and drying. Comparing settings also exposes tradeoffs: a stronger rim isn't necessarily a better watercolor, and more movement isn't necessarily a more useful brush.

Inside today's water-film engine

Bloom's engine has three connected responsibilities: turn brush contact into deposits, evolve water and pigment across the paper, and render the resulting paint over the surface. Swift coordinates the work; Metal kernels update the simulation fields on the GPU. The watercolor driver keeps the brush's live state, while the water film carries on after the pointer is released.

A painting contains more than its visible color

The film stores a grid of cells, with separate GPU textures for surface water, two-dimensional velocity, pressure, suspended pigment, and settled pigment. Pigment amounts are stored separately from color. Another set of fields holds water absorbed into the paper, pigment carried through that reservoir, and its optical depth. A paper-height field supplies the surface tooth.

Keeping these quantities separate lets the same visible color behave differently depending on its state. A blue wash with plenty of surface water can still move; a blue stain with its pigment settled into the paper responds differently when fresh water arrives. Changing the amount of water also changes the transport without automatically changing the amount of pigment.

Suspended and settled colors are stored in linear light, multiplied by their pigment amounts. To recover a color for mixing, the shader divides by the corresponding amount. This gives transport and settling an explicit quantity to move between fields, while the color-mixing stage determines the appearance of the combined pigment.

From a pointer sample to brush contact

Input samples update a brush target in document coordinates. For bristle brushes, deposits are generated on painting frames from the live contact state. A stationary brush can continue depositing while it touches the surface, and a released brush stops depositing while the wash keeps evolving. Path and point brushes instead feed sampled deposits into the same film.

Pressure affects deposit amount, with a base amount of 0.3 rising to 1.0 at full pressure. A separate pressure-opacity setting controls pigment opacity. The opacity slider scales pigment deposition independently of water, so a faint mark can still carry water into an existing wash.

Bristle contacts contribute to a shared coverage field. Where several contacts overlap, their pigment contributions add together, but their water contribution uses coverage limited to 1 for each cell in that deposit. This keeps dense bundles from multiplying water at the same spot. Soft contact edges retain their fractional coverage, and the brush's wetness setting still controls how much water is carried. Water already in the film is left intact.

Movement contributes direction and an initial flow velocity. The driver estimates speed from document-space travel and sample timestamps, limits the injected velocity, and applies the brush's speed-response setting. On consecutive frames at the same position, it clears that movement velocity so a held brush does not repeatedly inject the momentum of its last movement.

Brush loading changes with distance traveled. The driver uses an exponential load curve, load = exp(-distance * brushLoad), to reduce deposits along a stroke. Speed-dependent unloading, path jitter, tilt, rotation, and the bristle contact geometry further shape the deposit before the fluid solver takes over.

One continuous simulation domain

An earlier implementation split the wet surface into tiles. Re-solving overlapping regions increased work, independent tile boundaries produced seams, and each tile needed its own collection of field textures. The current window film uses one contiguous document-space grid, giving water and pigment a shared domain across the painting.

The current simulation downsample factor is 1, so the solve uses the supported document's pixel dimensions. Document size is limited against a GPU working-set budget using a 64-byte-per-pixel estimate and half the device's recommended working set. That is a sizing estimate; the engine also needs resources for paper, rendering, and history.

Three interacting strata inside a watercolor layer

Inside each watercolor artwork layer, the simulation separates the surface film, the paper reservoir, and settled pigment. These strata exchange water and pigment during a simulation step. Pressure and velocity are supporting fields that determine how the surface film moves.

Surface film: water and suspended pigment
The brush adds water and pigment here. Velocity transports the wet color and its amount across the surface. Wicking also exchanges water and pigment between neighboring cells, helping connected wet marks merge.
Paper reservoir: absorbed water and pigment
Absorption removes water from the surface film and transfers it into the paper, carrying some suspended pigment and optical depth along with it. Water and pigment then move through the reservoir in separate transport passes. Paper height influences capacity and transport, connecting the wash to the surface texture.
Settled pigment: the stain left behind
As the surface loses water, pigment transfers out of suspension into the settled field. Pigment in the paper reservoir can also contribute to the settled deposit. Fresh surface water can lift some settled pigment back into suspension, allowing a later pass to interact with an earlier mark.

The feedback runs both ways: absorption reduces surface water, which changes mobility and settling; reservoir transport changes where pigment reaches the paper; and rewetting makes part of the settled color mobile again. Evaporation adds another link by changing the pressure source near wet edges, redirecting surface flow toward the drying rim.

Artwork layers keep their paint separate

The Layers panel operates at a different level. Each watercolor artwork layer owns its own simulation fields and material state. Water and pigment interact within that layer; painting a wash on another artwork layer keeps its fluid state separate. The renderer combines the visible layers in stack order.

That gives two different ways to build color: paint into the same wet layer to let the materials interact, or use separate artwork layers to overlap washes visually while preserving their independent paint state.

The lifetime of a wash

  1. Deposit. Brush contact adds water and suspended pigment to the film.
  2. Transport. Velocity and pressure stages support movement across the wet region; advection moves water and pigment through the field.
  3. Meet the paper. Absorption transfers water into a paper reservoir. Paper-flow and capillary stages model further movement, while surface tooth influences pigment behavior.
  4. Settle and dry. Pigment transfers from suspension to a settled deposit as the film dries. Evaporation has an edge-enhanced term, and rewetting can return a controlled amount of settled pigment to the mobile state.

These stages work together. Drying affects how long pigment remains mobile, while the paper affects where water and pigment travel. Capillary transport and granulation let the surface shape the wash as it develops.

Color mixing is another part of the model. The water-film shader tracks color and pigment amounts, using Bloom's 38-band spectral mixing functions 6 to combine pigment colors through reconstructed reflectance spectra. The color-mixing article describes that process.

Watching the fields evolve

These captures use Bloom's bundled watercolor brushes with their preset settings unchanged. Each brush paints through the production watercolor engine; the diagnostic montage displays five views of its simulation side by side: surface water, absorbed paper water, pressure, velocity, and pigment.

Each example uses Cadmium Red on cold-press paper with absorbency 0.6, a 44 px brush width, full pigment opacity, and 0.7 pressure. The brush travels for half a second, followed by 11.5 seconds of simulation without further deposits. The faster pass limits repeated deposits along the stroke while keeping the brush presets unchanged.

Watercolor Round

Watercolor Round. Each panel follows the same brush stroke; the film keeps evolving after the brush stops depositing.

Watercolor Round Wash

Watercolor Round Wash, using the same path, width, pigment, and pressure with its bundled brush settings.

Watercolor Flat Wash

Watercolor Flat Wash. Its flat contact shape produces a broader mark under the same capture conditions.

Watercolor Round Detail

Watercolor Round Detail. Both the surface film and paper reservoir dry within this sequence.

Watercolor Rigger

Watercolor Rigger. The same stroke exposes the preset's balance of surface water, absorption, and pigment transport.

Watercolor Fan

Watercolor Fan uses scattered circular points rather than bristles, with its updated point opacity, pigment density, and drying rate. Water enters the paper reservoir; both water fields reach zero by the end.

Reading the fields

Surface Water
Blue indicates water above the paper; the light paper color indicates a dry cell. This field determines where the surface film can move and where drying begins to immobilize pigment.
Paper Water
Blue indicates water absorbed into the paper reservoir. Absorption transfers water out of the surface film, while pore flow redistributes it through the paper. Both water views use the same color scale, which reaches full blue at a cell value of 1; larger values stay blue even as water is removed.
Pressure
White is zero, blue is negative, and red is positive. Pressure differences help shape the velocity field, connecting local drying at the boundary to movement inside the wash.
Velocity
Hue shows flow direction and brightness shows speed. Black is still. The shifting colors reveal motion that can be difficult to see in the final pigment image.
Pigment
This view combines suspended and settled pigment over a neutral paper color. It shows the visible consequence of transport and deposition while the other panels expose the changing state behind it.
Default Watercolor Round at brush lift: blue surface water, lighter blue absorbed paper water, signed pressure, directional flow, and red pigment.
Watercolor Round at brush lift. Water has already entered the paper reservoir while the surface film remains active.
Watercolor Round after 345 more steps: dry surface, faint residual paper water, no visible flow, and the red pigment mark left behind.
The same Watercolor Round stroke after 345 more simulation steps. The surface is dry, a small amount of water remains absorbed in the paper, and the pigment mark remains.

Measuring absorption and evaporation

The table sums each water field at brush lift and after 345 further simulation steps. Values are rounded totals in simulation units across the grid. Absorption moves water between the two reservoirs; evaporation removes it from the system. The totals reveal changes that a saturated blue pixel can hide.

The last column shows how much water is lost between the two snapshots: surface plus paper water at brush lift, minus surface plus paper water later. Water moving into the paper does not count as a loss; evaporation reduces the combined total.

With overlapping bristle water normalized, five of these six presets have no surface water left at the end of the sequence. Round Wash retains a small surface amount and more water in the paper reservoir. Brush wetness, pigment loading, and drying parameters remain at their bundled preset values.

Cold-press paper, absorbency 0.6. Water totals at brush lift and 11.5 seconds later.
BrushSurface at liftPaper at liftSurface laterPaper laterWater lost
Watercolor Round9,1271,699010510,721
Watercolor Round Wash22,7492,491291,87023,341
Watercolor Flat Wash14,0042,824026816,560
Watercolor Round Detail1,199818002,017
Watercolor Rigger3,608795004,403
Watercolor Fan9,7491,5840011,333

What happens between neighboring cells

Each field is a GPU texture, and each cell reads nearby values to compute its next state. The evaporation pass examines eight directions at distances of one to four cells. Dry neighbors increase the local edge flux, creating a stronger drying source near the rim than in the wet interior.

The pressure solve uses a nine-point stencil: the four edge neighbors have weight four, and the four diagonal neighbors have weight one. Dry cells impose zero pressure. Repeated passes spread the local source through the wet patch, while the diagonal contributions reduce grid-aligned flow patterns. The solver subtracts the pressure gradient from velocity, then advection transports water, suspended color, and pigment amount through the resulting flow.

In the production window film, wicking exchanges water and pigment between neighboring cells. Absorption transfers some of that material into the paper reservoir; separate paper-water and paper-pigment passes move it within the surface. Settling moves pigment out of suspension, while rewetting can lift part of the settled deposit. These local exchanges connect the three strata into an evolving wash.

Glazing: color over a dried wash

A glaze lets an earlier wash remain visible through a later one. Here, Liquitex HB Cadmium Yellow Medium Hue dries first, followed by Phthalocyanine Blue (Green Shade) on a new watercolor layer, then Naphthol Crimson on a third. Each wash finishes drying before the next color touches the canvas.

The yellow-blue overlap becomes green. The crimson stroke is offset below that crossing, forming a violet overlap with blue and a warmer overlap with yellow. Each artwork layer keeps its own water and pigment fields, so the new wash evolves independently while the dried marks below remain unchanged. The overlap comes from the translucent layers seen together, rather than pigment moving between them.

These native Bloom captures use Watercolor Fan on Cold-Press Paper at its default 40 px width, full brush pigment opacity, and full pressure. This preset makes a point-based flat wash: circular points scatter laterally across the stroke, rather than forming a round brush footprint or bristle arrangement. The colors come from Bloom's Liquitex Heavy Body catalog. Each color is applied once, in a single brush pass lasting 45 simulation frames. The wash then runs until its film becomes inactive before the next color is applied.

Three Liquitex HB color glazes with Watercolor Fan's point-based flat wash, one pass per color. Yellow dries before blue, and blue dries before crimson. The recording follows the washes through their final dried state.
A dried yellow diagonal flat wash built from laterally scattered circular points on textured cold-press paper.
1. Liquitex HB Cadmium Yellow Medium Hue, dried.
A translucent blue vertical wash crossing the dried yellow, with green visible in their overlap.
2. Liquitex HB Phthalocyanine Blue (Green Shade) over yellow, both dried.
A crimson diagonal glaze offset below the yellow-blue crossing, showing separate violet and warm yellow-red overlaps.
3. Liquitex HB Naphthol Crimson over yellow and blue, all dried.

The same colors, without waiting to dry

Here, the same Watercolor Fan point-based flat wash paints yellow, blue, and the offset crimson stroke consecutively. The brush settings, 40 px width, Liquitex HB colors, full pressure, and single 45-frame pass per color are unchanged. Blue starts while the yellow film is still active; crimson follows while the film remains active, with no drying pause between colors.

All three colors share one watercolor artwork layer. Unlike the separate layers in the dried glazing example, they enter the same evolving water and pigment fields, where neighboring cells can exchange water and pigment. After the last stroke, the recording follows the combined wash until it dries.

One pass per color on one shared wet layer, with no wait between yellow, blue, and crimson. Drying follows only after all three strokes have been painted.
Yellow, blue, and offset crimson flat washes overlapping on one still-wet watercolor layer.
Still wet.
The same yellow, blue, and crimson washes after their shared watercolor film has dried.
The combined wash after drying.

Watercolor Fan: the wet fields

Yellow, blue, and crimson on one wet layer. Surface water, paper water, pressure, velocity, and pigment are shown from left to right.

What to look for in a watercolor test

A wet stroke meeting another wet stroke. Follow the contact region over time, not just the first frame. The question is whether the pigment moves with the changing wet field rather than merely blurring the two outlines.

A wash drying on textured paper. Compare the middle with the boundary and the surface hollows. Edge accumulation concentrates pigment along the rim, while granulation brings out the paper's texture within the wash.

Fresh water over a settled mark. Watch how much color becomes mobile again. Bloom's settling stage uses a mobile/settled equilibrium for lifting, rather than removing the same fraction of a dry stain on every solver step.

Model development and testing

Development moved from an early CPU-grid design to a GPU water film. The implementation separates water storage, pigment transport, paper absorption, and settling.

Timed captures and parameter sweeps compare water flow, pigment deposition, and drying across brush settings.

Watercolor in Bloom Sketches

Wet washes, drying, and layered glazes are available in the Mac and iPad beta. Watercolor overview.

Join the free beta on TestFlight

Sources

1. Curtis, Anderson, Seims, Fleischer, and Salesin. Computer-Generated Watercolor. SIGGRAPH, 1997.

2. Art Directed Watercolor Rendered Animation (PDF).

3. Zhili Chen, Byungmoon Kim, Daichi Ito, and Huamin Wang. Wetbrush: GPU-Based 3D Painting Simulation at the Bristle Level. ACM Transactions on Graphics (SIGGRAPH Asia), 34(6), 2015.

4. A Cellular Texture Basis Function: additional research kept in Bloom's development reading collection.

5. Ken Perlin. An Image Synthesizer. SIGGRAPH, 1985.

6. Ronald van Wijnen. Spectral.js, the basis of Bloom's spectral color-mixing port.