arXiv:2611.08994cs.HCNov 2026

Manuscript Offprint

arXiv:2611.08994

The Drawing You Watch Is the Portrait You Keep: A Replayable Machine Portrait Studio

Vinod Rajpurohit

ABSTRACT

Ask an image model for your portrait and a finished picture arrives: no first line, no second thoughts, no record of how it got there, and a different picture if you ask again. I built a portrait studio that works the other way. A sitter chooses one of eight fictional artists, each written with a city, a medium and a tempo of its own, holds still for 8 to 12 seconds, and watches a drawing of themselves appear over 44 seconds. One still is sent after consent, a hosted image model returns a private study the sitter never sees, and a compiler turns that study into one drawing document. The live drawing, the saved sheet, the vector export and the film all read that document, and a replay makes no model call, so the drawing you watch is the portrait you keep. I describe the compiler in enough detail to rebuild it and say plainly what it is: an authored reconstruction at a compressed speed, not a recorded hand. On 16 generated test studies a sheet holds 8,784 to 16,378 timed contacts, about three quarters of them fixed-grid fills and nearly all shorter than one video frame, and recompiling one study gave byte-identical output four times on one machine. The paper also traces a bug that matters more than any of that. The earlier compiler estimated the paper colour tile by tile, read dark skin as paper, and in all eight hands kept less of a deep-complexioned face than a fair one (13 to 48 percent against 41 to 56). On 80 generated studies the rebuilt engine keeps the complexion difference the study already has (raw retention 89 to 120 percent), so the fairness question has moved upstream, to the study and the hosted model. The two test sitters are generated and differ in more than complexion, and no real-face or perceptual study exists yet. The studio is live at https://everyfaceproject.com.

Keywords: stroke-based rendering; non-photorealistic rendering; image vectorisation; generative image models; skin tone; fairness; deterministic replay; portrait sitting.

1. Introduction

I started from one observation: a machine can draw now. When I paid attention to how it draws, two things bothered me. It draws in one shot. The picture arrives finished, with no first line, no second thoughts and no record of how it got there. And it cannot do it twice. Ask for the same drawing again and a different drawing comes back. A drawing by a person is nothing but history: where the pencil started, what got corrected, the order things happened in, the signature at the end. So the project became a machine drawing with a history, one you can watch being made and replay exactly, as many times as you like. Once the drawing had a history, the person being drawn needed one too, so I designed a sitting around it (Section 2).

There is also the person being drawn. Sitting for a portrait is an odd, exposed few seconds: you hold still, you are looked at, and you do not get to choose what the person drawing you sees. That exposure is what makes a portrait worth keeping, and it is exactly what a regenerate button takes away. A picture you can redo forever stops being a picture of you. So the studio has no prompt box, no style slider and no retake.

The eight artists are the other half of the design, and they were not picked at random. Each one is written down before any sitter arrives: a city, a medium that belongs to a real drawing tradition, a number of seconds it looks before it chooses, a short list of what it notices first and what it leaves alone, and a few lines it says while it looks. They came from watching people draw, from conversations with artists about what they look at before the first mark, and from how marks actually go down in each tradition: a sanguine crayon lands once and stays, a Jaipur kalam line is laid faint and then committed, a Nanyang brush thickens where the form turns. The tempo is the personality. Sol in New York looks for 8 seconds, because that is how a reportage hand works; Yeon in Seoul looks for 12, because the Joseon rule she quotes says that one hair wrong is another person. Section 2 gives them in full, and Figure 2 shows all eight drawing the same sitter.

Figure

Figure 1: The pipeline, shown with the studio's fictional demonstration sitter. In the browser, camera frames are scored on the device and one still is sent, once per attempt, after consent. On the server, one call to a hosted image model returns a private study (here Mira's committed reference study, struck through because a sitter never sees it and it is then discarded), and the compiler writes one drawing document (here Mira's finished sheet). Four surfaces read that document: the live drawing, the saved sheet, the vector export and the film. Replay makes no model call.

That idea has a limit. Replay is exact because the drawing document is fixed once it is written. The hosted image model that makes the study is not seeded and can return a different study each time it is asked, so the history begins at the study, not at the sitter.

A finished image can be animated with a wipe, a fade or a scribble timed to look plausible, and nothing ties that animation to the picture that is kept. The constraint I set for this studio is that the drawing the sitter watches and the portrait they keep are one document, read by the live player, the saved sheet, the vector export and the film, with nothing regenerated for a replay. The current engine has some of that same structure: its colour regions are computed before the first contact plays, and the contacts reveal them. The difference is that the document revealing them is the one the sitter keeps, and the product calls it a reconstruction: a performance authored by rule from a finished study, not recovered from any real process. The order is set by fixed rules over the study's own marks: the traced ink and the borrowed paths follow them, and the grid returns, about three quarters of the contacts, follow a raster scan.

The compiler has had two generations, and this paper describes both because the complexion history runs through both. The earlier compiler measured darkness in the study against a locally estimated paper level and rebuilt it as lines and hatching in the artist's own ink; its sheets were lighter and less faithful than the studies they came from. For a sitter with darker skin, that meant a face drawn fainter than their own study, with no error and no warning. The current engine keeps the study's own pigment. It quantises the non-paper pixels to a small palette, traces the boundary of every colour band as a polygon, and schedules eight to sixteen thousand timed contacts that reveal those bands in an order set by rules. The sheet is now the study, quantised, with a signature, and the performance is an authored reconstruction of how such a sheet might be drawn. Fidelity and colour now come from the study, so the compiler can no longer narrow or correct what the study got wrong, complexion included.

This paper reports four things. First, the engine as it runs in the live studio: selected by an environment flag, unchanged in source at the commit this paper describes, and with its contacts stage specified in enough detail to reimplement. That specification covers the paper estimate, the ink and tone split, the per-material palette, the vector boundaries, the ink tracing, the borrowed tone directions, the grid fill, the pass routing, the timing formula and the budgets. Three of those inputs still depend on the earlier compiler, which Section 4.3 only outlines and Section 4.2 names. The parts that are classical are named as classical: thinning, distance transforms, k-means colour quantisation and pixel-boundary vectorisation are decades old. Second, measurements of what the document contains and how far its determinism has been checked, with the scope of each measurement stated. Third, a complexion trace across the two compilers: the mechanism by which an adaptive local background estimate keeps less of a dark face, the fixes, and a same-day re-measurement on 80 generated studies. That re-measurement shows the current engine preserving the study's own complexion separation. Fourth, the practice of pinning the product's claims about itself with tests, reported together with the places it failed.