← Work

Inventing new things Generative tool

Facture

An algorithm that turns a photo into a painting stroke by stroke, the way a painter would: big shapes first, then only the details that matter.

No AI, and no filter. Facture is a generative system I wrote myself: every stroke follows rules I designed, steered by settings you can see and change.

Facture: your photo as a painting, stroke by stroke. Launching soon.

Tell me when it’s live →

Play with it Change the parameters → watch the same photo painted with different brushwork

Origin
Self-initiated project
Status
Launching soon

Click a painting to see it at full resolution.

Recognized

Painting filters swap every pixel for a smudge in one go. That isn’t worth watching, and it doesn’t look like painting: a painter blocks in the big shapes first, and spends effort only where the eye goes.

Imagined

An algorithm that plans its strokes the way a painter does: squint, underpaint with big brushes on a warm ground, then refine only where the canvas still differs from the photo. A process you can follow stroke by stroke, and steer while it paints.

Created

A working app with a brush that loads, runs dry and leaves paint with thickness, and a long-read whose demos run the app’s own code.

Where it started

A first attempt, in 2021

My first try at a painter. It already worked from big shapes to small ones, but every step laid down flat patches of colour, cut out like paper. You could watch a picture being assembled, not one being painted. The strokes, the brush and the paint came later.

A self-portrait by Rembrandt built up in seven steps: first a few flat patches of dark and light, then smaller and smaller patches until the face, the white cap and the red under the coat appear.
After Rembrandt, Self-portrait with Two Circles, c. 1665–1669, Kenwood House, London
Side by side: a portrait of a laughing woman, and the same portrait as a thickly painted oil sketch made by Facture.

Facture at work. Big, blunt strokes block in the light and the dark first; smaller ones follow only where the canvas still differs from the photo.

Facture’s Focus points dialog: a photo of a statue framed by a stone archway, with three numbered circles on it, and a list beside it setting each point to Detail, Value contrast or Crisp edges.

You can also say where the eye should go. A focus point makes one place unlike the rest of the painting: more detail, more contrast, stronger colour or crisper edges there, a little less everywhere else.

What I created

A working app: pick a photo, steer it with settings such as colour tolerance, stroke length and relief, and watch it paint. Paintings can be saved at screen and print sizes. A long-read article explains how it works, with interactive demos that run the app’s own code.

Drag the frame over the painting to see it at full print resolution: the paint stands up in ridges, the brush runs dry at the end of a stroke, and where the paint is thin the canvas shows through.

The photo: a laughing man with his eyes squeezed shut, bare-shouldered, against a light background.
The photo
The same man painted by Facture: the closest to the photo, the head modelled in small strokes, the eyes and the smile crisp.
The same man painted by Facture: looser, the face found in a few large patches of light and dark.
The same man painted by Facture: the most abstract, broad strokes breaking up the cheeks and the shoulders.

One photo, three paintings, from the most realistic to the most abstract. Each run plans its strokes anew, and the settings decide how far it moves away from the photo.

Facture’s “How the regions are made” view: a portrait of an old priest, with a frame around his eye, and four close-ups of that area: the smoothed photo, the regions grown from it, the regions after small specks are merged, and the regions as painted.

How Facture squints, step by step: the photo smoothed, then grown into regions of similar colour, small specks merged into their neighbours. The settings for each step sit right under it, so you can see what they do.

Facture’s complete settings panel, laid out in four columns: photo and size, basic settings with a preset per image type, expert settings for the background and the regions, then stroke, paint and focus, each a list of sliders.

Every setting, in four columns. A preset per kind of image sets them all; the expert settings reach into the regions, the stroke, the paint and the focus. The ones marked live change the painting while it paints.

A portrait of a man in greys, painted by Facture with a transparent background: the strokes end in a ragged edge and the page shows through around the head.

With a transparent background the painting stops where the strokes stop, so it sits on any colour, like this page.

Facture’s gallery: a grid of saved paintings, a pond, portraits, a café terrace, canals and a tram, filterable by image type and size, with variations of one photo stacked as a pile.

Paintings are kept in a gallery, at screen or print size. Variations of the same photo stack up as a pile.

What it makes possible

Paintings that are built the way a painting is built, and a process you can follow and steer while it happens.

Role
Concept, design and development