Parametric Interface Model validation

How to write down what a designer knows so that an LLM builds screens nobody drew. Tested on three screens and nine clean runs

Type
Self-initiated study
Subject
Parametric Interface Model, my own concept
Role
Senior UI Designer / Context Architect
Date
November 2026

01. Goal

The clearest result comes from one file of rules. Without it, an LLM in a clean session, with no access to the project files, made the route up to 60% wider and the stop cards about a third shorter. With it, neither happened in any run, and eleven measured sizes in track came out, on average, three times closer to the build I had accepted.

The goal was to test my own concept, the Parametric Interface Model, on a small pilot: three screens of a navigation view and three drive modes.

The model describes the visual layer of an interface with a direction, rules, and parameters, so that states are derived, not drawn. The designer writes the rules with their reasons and gives one state. An LLM derives the other states, and each correction the designer makes becomes a new rule. The model in full is described in the article Parametric Interface Model.

The model rests on one assumption, and the pilot tests it:

Domain knowledge written as rules with reasons carries through an LLM to screens the designer never drew.

An LLM can build an interface screen. What it does not have is what the designer knows about the domain: that a driver finds buttons by memory, that an empty panel takes space from the map, that a tap area must not shrink in a mode where everything else grows. Without that knowledge the result is plausible and wrong in ways only the designer notices. If the rules do not carry, there is nothing to derive from.

Part of the hypothesisStatus
The modes of a screen, derived from one stateVerified in a clean test: six runs in clean sessions, three with the rules and three without
A second screen, built on the rules of the firstShown, but not in a clean test: the agent had the whole conversation and my sketch
A screen I did not draw at allShown in three clean runs with the rules: the best one needs one correction. Not compared with runs without the rules

This is UI design and context design in one piece of work.

02. Role

I took my concept, found an example to build the prototype around, and ran the work as an art director for an LLM agent: I gave it sketches, mockups, rules, and corrections. I designed the screens, and I designed the description from which screens are produced: what is written down, in what form, and who reads it.

The split matters for reading the results.

What I designed

  • The model: its vocabulary and its process
  • The form of the context: rules with reasons, the journal of corrections, the split into what the LLM reads and what the runtime reads
  • Three test screens: sketches, then precise mockups in normal only, and for the third a description with no drawing
  • Every design decision and its reason, including the ones that corrected the agent
  • The clean tests: what the LLM sees and what it does not. I ran them myself, nine times

What the agent did

  • Wrote the prototype code on top of my existing terrain map prototype
  • Proposed how to split the screen into channels and the first values for each
  • Derived sport and track for the second screen from one sketch and the rules of the first
  • Rendered each build and checked it against the rules
  • Wrote the invariants as a script and ran them on every build
  • Prepared the input for the clean tests and measured their results

The agent proposed, I decided. Where a rule came from the agent, the journal in chapter 06 says so.

03. The model

The Parametric Interface Model describes the visual layer with a direction, rules, and parameters, so that states are derived instead of drawn and the designer’s corrections accumulate as rules.

The process is a loop. The designer writes the direction – rules with their reasons – and gives a state. The LLM derives the other states and renders them. Checks run on the rendered result. The designer reviews and corrects. Each correction becomes a rule, which generalizes, or an exception, which holds in one place.

The loop, and who does each step. The designer gives the direction, rules with their reasons, and a reference state. In the loop the LLM derives and renders the other states, a script checks invariants on the rendered result, the designer reviews every state and corrects parts, and each correction is written down as a rule or an exception with its reason; then the loop runs again with the new rule. Accepted states are frozen into channels, four numbers for each property that changes, and a deterministic runtime reads them, with no LLM.

The model is not meant to produce a finished result on the first pass. It is meant to build well in the direction it was given. The vocabulary and the reasoning behind it are in the article Parametric Interface Model.

04. Test material

The test product is a navigation view for a concept car. This is not work for the carmaker: the car’s interior and its cluster are the context for the prototype. The idea came from what the car does not have: there is no center display and no cluster in the usual automotive sense. The driver’s phone takes their place. That one constraint sets very clear limits, and the domain is familiar to me: I have worked on navigation interfaces in automotive for more than 12 years.

Studying the concept in detail, I found that an axis was already built into it, in hardware and on screen. Its cluster is something else: five classic round dials – the rev counter in the center, the others behind it – each an analog needle over a digital screen. The needles change position with the drive mode – normal, sport, track – and the three modes lie on one line: toward track there is less information, the main value gets larger, and scales lose detail. The phone has to rhyme with the instruments in every mode.

Interior of the concept car: the instrument cluster behind the steering wheel, and the driver’s phone in a holder on the dashboard, showing navigation

Photo and video: the carmaker’s concept page, with the logos removed. This is a personal project, not design for the carmaker; the interior serves only as input and context.

05. Who reads what

One description, four readers. Each gets a different part of it, in a different form.

ReaderWhat it getsFormWhat for
DesignerEvery build in three modes and in between; the journal of correctionsA live prototype and screenshots; a tableTo judge by eye and say what is wrong and why
LLMThe direction, a reference state, the interaction layer, the instrument framesA table of rules with reasons; a prototype or a mockup; a short text; four imagesTo derive the states nobody drew
CheckThe rendered screen in 42 statesA script with 14 invariants that measures what is on screenTo catch anything below a minimum, whoever built the screen
RuntimeChannels and thresholdsFour numbers per channelTo compute the screen at any point of the axis. No LLM runs here

The rules are the LLM’s layer. The channels in chapter 08 are the runtime’s layer. The same decision exists in both: once as a sentence with a reason, once as numbers.

06. The context

The package

This is everything the LLM received in the clean test of derivation.

package/
  TASK.md                    the task, 490 words
  ixd.md                     interaction layer: what is on the screens, anchors, what is optional, 300 words
  direction.md               eight rules with reasons, 380 words – only in the runs with rules
  prototype/
    index.html               the prototype frozen at normal, one file
    fonts/
  references/
    normal-guidance.png      the two screens in normal
    normal-stops.png
    cluster/                 the car's instruments in three modes, four frames

Not in the package: the values for track, the journal of corrections, the mockups, and any code in which a rule had already turned into behavior.

The task

The LLM was told what exists, what to derive, and what it may not ask. In short:

The designer drew normal only, and the prototype has normal only.
Derive sport and track.

1. Look at the instrument frames and write down what changes from normal to track.
2. Decide what changes on the phone along the axis: what becomes a channel,
   what leaves together as a group, what never changes.
3. Give each channel a value at track and the part of the axis where it moves.
   Sport is not set separately: it is what the channels give at 0.5.
4. Render six states, look at them, and fix what is wrong.

At focus 0 both screens must stay as they are.
What is on the screen and in what order is given and does not change.
Do not ask the designer questions. Where data is missing, decide, and write it down
as an assumption.
direction.md: the designer's rules with reasons. Not in every run:
if the file is missing, you were not given the rules.

The rules

Rules reach the agent as a table with two columns: the rule and why. Four of the eight, as they stood in the test:

RuleWhy
The route keeps the same width on screen at any focusOtherwise the chevron next to it looks small
Controls on the map never disappear or move; only their size changes. Inside a panel, buttons may move with the composition of the content; if a button sits at the bottom with a margin, both the button and the margin scaleIn a car, buttons are found by muscle memory. The content of a panel is dynamic, not static, and muscle memory is not needed there: the driver opened the panel to do something. Outside a panel, on the map, the anchors have to hold – the top left corner, the bottom left corner, the bottom right corner, and the position of the buttons. These are the areas the driver reaches for and can hit the right button while seeing it almost out of the corner of the eye
Information leaves in groups: kilometers and minutes go togetherOne by one is too blunt
A tap area never shrinks toward track: a stop card keeps its height, and the content centersInstead of making the tap area larger, the build had made it smaller

The second rule did not start this long. After the first screen it read:

RuleWhy
Controls never disappear or move; only their size changesIn a car, buttons are found by muscle memory

Nothing in it said “on the map”. On the stops panel the agent followed it as written and held a button in place while the cards above it emptied. I narrowed it, and the reason grew with it.

The rules have no counterexamples written in them. The clean test produced real ones: without the first rule, the route came out 60% wider on screen in one run of three, and 11% wider in another.

The journal, with authors

Every rule came out of a correction. The journal records who the rule came from.

№RuleCame fromWording
1The route keeps the same width on screen at any focusMy correctionMine
2Controls on the map never disappear or move; inside a panel they may move with the contentMy correction, narrowed by me on the second screenMine
3Information leaves in groups: kilometers and minutes go togetherMy correction; the grouping was the agent’s proposal, which I acceptedAgent’s
4On the guidance view the arrival time is always visible and grows toward track; in the stops panel it may leaveMy correction, narrowed by me on the second screenMine
5A panel is as large as its content, in height and in widthMy correction, extended to width after the mockups, narrowed by me on the third screenMine
6The vertical padding of a panel does not grow with its typeMy correctionAgent’s generalization; the reason is mine
7A tap area never shrinks toward trackMy correctionAgent’s generalization; the reason is mine
8The map does not know about the interfaceMy correctionAgent’s generalization; the reason is mine

One decision about the form

Every correction I make is recorded as a rule or as an exception, with its reason. Nothing is fixed on the screen and left unrecorded.

A correction is a part of the visual layer that cannot be seen on a static screen. Each one adds a rule to the interface, and the interface starts to work the way I imagined it.

What the form does can be counted. Of thirteen corrections on the first two screens, eleven became rules or refined one, one is an exception – a road sign taken as a ready asset – and one is a detail of the normal state. A correction recorded as a rule is applied to the next screen without my saying it again: two of the four rules from the first screen transferred to the second with no correction at all.

The reason is written next to the rule so that the LLM can generalize from it instead of copying the rule. That is the intention; I did not test rules without reasons.

07. Method

  • Three screens, one axis. The guidance view – map, maneuver panel, arrival panel, speed limit, map buttons – the stops panel that opens over it, and the alternative route screen. The axis is focus: 0 is normal, 0.5 is sport, 1 is track.
  • What I gave. For the first screen, sketches of all three modes. For the second, one sketch in normal and a list of what is optional. Later, precise mockups of both in normal only. For the third, no drawing: a short description of what the screen does and which data matters most.
  • The loop. The agent builds, I review, I say what is wrong and why.
  • Checks. Fourteen invariants as a script. Each run sets 42 states – focus from 0 to 1 in steps of 0.05, stops panel closed and open – and measures the rendered result, not the numbers in the parameters.
  • The clean test of derivation. The package from chapter 06, given to an LLM in clean sessions with no access to the project files. Three runs without the rules file, three with it. Nothing else differed.
  • The clean test of a new screen. The finished prototype, the rules, and the description of the third screen. Three runs, each in a clean session, all with the rules: that is how the method would be used.

The decision about what the LLM sees and what it does not is the most deliberate piece of context design in this case. Stripping the prototype for the first test meant finding every place where a rule had already turned into code, and removing it: the tie between route width and camera, the constant padding of the arrival panel, the minimum height of a card, the narrowing of the maneuver panel.

08. The description

The runtime reads channels. A channel is four values: its value at each end of the axis, and where on the axis it starts and stops changing.

// [value at focus 0, value at focus 1, starts changing at, stops changing at]
contMinor:   [1,     0.18, 0.15, 0.85],  // regular contour lines: almost gone
camDist:     [1,     0.62, 0,    1],     // camera distance: moves in toward track
uiManDist:   [5.455, 9.6,  0.15, 1],     // type size of the distance to the maneuver
uiRoad:      [1,     0,    0.6,  0.85],  // presence of the "maneuver + road" line
uiEtaDetail: [1,     0,    0.2,  0.45],  // presence of "km · min" in the arrival panel

Sport has no values of its own: it is what the channels give at 0.5. The first two screens together run on 23 channels and 7 label thresholds.

Four decisions show how a judgment about the screen ends up in both layers.

Design decisionReasonIn the runtime layer
Controls never disappear or move; only their size changesDrivers find buttons by muscle memoryButtons grow around fixed centers
The route keeps its width on screenOtherwise the chevron looks small when the camera moves inA relation between two channels: route width and camera distance
Kilometers and minutes leave together; the arrival time staysOne by one is too blunt; the arrival time is the way into the current routeOne presence channel for the pair, a size channel for the time
In the maneuver panel the hierarchy flips: the action is large in normal, the distance is large in trackIn normal the driver reads what to do; in track, only how farA size channel and a presence channel with different ranges

The fourth produced a state nobody drew: at 0.5 the distance reaches the size of the maneuver line, and the two are equal.

Guidance view, normal mode Guidance view, sport mode Guidance view, track mode

The stops panel was derived from the rules of the first screen and took three corrections. A rebuild from precise mockups took six more. All of them are in the journal above: the narrowing of rules 2 and 4, rules 5 to 8 with rule 5 later extended to width, one exception, and one detail.

Stops panel, normal mode Stops panel, sport mode Stops panel, track mode

09. Change the context, change the result

The clean pair

Six runs on the same package. The only difference between the two groups is one file: the rules.

Without the rulesWith the rules
Route width on screen in track+60%, +11%, +3%Constant in all three
Stop card height toward trackShrinks in two runs, by about a thirdHolds in all three
Arrival time toward trackShrinks in one run, does not grow in twoGrows in all three
Eleven interface sizes in track, average distance from the accepted build20%, 22%, 21%7%, 6%, 9%
Of the same eleven sizes, how many change in the same direction as in the accepted build4, 5, 511, 11, 10

The eleven sizes are the width and height of the maneuver panel and of the arrival panel, the type size of the arrival time, the diameter of the buttons, the height of the stops panel, of a stop card, and of the add button, the size of the close button, and the width of the maneuver panel when the stops panel is open. The distance is the difference from the accepted build as a share of its value, averaged over the eleven.

Counted another way – as the corrections each run would need to match the accepted build – the gap is smaller: 5, 8, and 9 with the rules, 10, 11, and 15 without. In that count a map label weighs as much as a broken rule.

Without the rules the LLM widened the route and shrank a tap area – the mistakes two of the rules came from – and it shrank the arrival time. A button that disappears, the third mistake a rule came from, did not return: the interaction layer already fixed the anchors. With the rules, two of the three runs agreed with each other almost to the pixel.

What the rules did not carry is as clear. With rules or without, the runs missed the same few decisions: how much the main value grows, which map labels leave, and, in four runs of six, where the camera goes. None of these is written anywhere in the input. The camera is the clearest case: I had not planned it, the agent proposed it, I took it because it fit, and it lived only in the build.

Guidance view in track mode, the accepted build Guidance view in track mode, a run without the rules Guidance view in track mode, a run without the rules Guidance view in track mode, a run without the rules Guidance view in track mode, a run with the rules Guidance view in track mode, a run with the rules Guidance view in track mode, a run with the rules

A screen nobody drew

The third screen compares the current route with an alternative one. There is no mockup of it. The LLM got the finished prototype, the rules, and a short description of what the screen does and which data matters most. Three runs, each in a clean session.

Run 1Run 2Run 3
Route width constantYesYesYes
Buttons on the map stay in placeYesYesYes
Kilometers and minutes leave togetherYesYesYes
Panel as tall as its contentYesYesYes
Panel as wide as its content, as the rule was writtenNo: keeps the width of the stops panelYes: the width follows the contentIn part: fixed at what normal needs
Panel width, as I meant itYesNo: the panel and the maneuver panel next to it travel along the axisNo: constant, but not the width of the stops panel
Padding does not grow with typeYesYesYes
Tap area does not shrinkYesYesYes
The map does not know about the interfaceYesYesDebatable: points of interest hidden on this view
Guidance view unchangedYesYesYes

The rules were applied by meaning, not by pattern. All three runs read a route card as a tap area and held its height, though the rule names a stop card. All three kept the arrival time in track, for the same stated reason: without it the card of the current route is empty.

The runs split on panel width, where two rules pulled in different directions. “A panel is as wide as its content” and “the maneuver panel next to it stays put” cannot both hold when content leaves.

I took the first run: it needs one correction, a larger gap between the cards. It is also the run that broke the rule as written – because the screen description told it to move the maneuver panel the same way the stops panel does. The run that followed the rule to the letter was the one I rejected. “As wide as its content” had been said about the maneuver panel; I had written it about panels. The rule is narrowed now: a panel with content keeps the width it opened with, and the content fills the space.

Alternative route screen, run 1, normal mode Alternative route screen, run 1, sport mode Alternative route screen, run 1, track mode Alternative route screen, run 2, normal mode Alternative route screen, run 2, sport mode Alternative route screen, run 2, track mode Alternative route screen, run 3, normal mode Alternative route screen, run 3, sport mode Alternative route screen, run 3, track mode

A rule narrowed, in the working process

This pair comes from the working sessions, where the agent had the whole conversation. It shows the process.

  • Before. “Controls never move.” On the stops panel the agent held the add button in place while the cards above it emptied.
  • Context changed. I narrowed the rule: inside a panel, buttons may move with the content.
  • After. In the next build the button moved with the cards. And the stop cards shrank, because content inside a panel was now free to move.
  • Context changed again. A new rule: a tap area never shrinks.

A narrowed rule had to be narrowed again. The scope of a rule is found one screen at a time.

10. Prototype

Guidance view, normal mode

Streams, lakes, and points of interest on the map: © OpenStreetMap contributors.

This is the prototype itself, running in the page. It starts driving when it comes on screen. The buttons under it set the mode; the lower button on the screen opens the mode slider: drag it and the screen follows, release it and it settles on the nearest mode.

It is one HTML file. The parameters sit at the top of the script.

The road is a real stretch, taken from a map of California, and the agent built the elevation map around it. The gas station on the route is made up – there is none there.

11. Findings

Verified

  • States come from one description. The first two screens, map and interface in three modes, run on one parameter, 23 channels, and 7 thresholds. No mode has a mockup of its own in the build.
  • Corrections become rules. Eleven of thirteen.
  • A rules file carries the intent through an LLM. Three times closer on average on eleven measured sizes in track, and none of the mistakes the rules were written against. Rules without reasons were not tested.
  • Without the rules, the old mistakes came back. A wider route and a shrinking tap area – two of the three the rules came from.
  • Checks work as one more reader. They found a close button too small to tap, which neither of us had seen.

What the work changed in the model

  • A channel needs a range, not only two ends. With every channel moving along the whole axis, sport is a pale normal. Staggered ranges make it a state of its own.
  • There are three kinds of channels. Value, presence, and threshold, plus relations between them.
  • The designer’s work moves; it does not shrink. I stopped drawing states and started deciding what is a channel, what is a group, and what never changes.
  • A rule carries a scope it does not state. Three rules were written wider than I meant them. Each time the scope only became visible on a screen the rule was not written for – and on the third screen, the run that followed the letter was the wrong one.
  • What is not written down is lost. A decision that lives only in the build is not derived by the next LLM.
  • Checks need the care rules need. A check is a rule in executable form, and it carries a scope it does not state either. Two of mine raised false alarms on clean runs: one assumed a single camera, the other flagged a card that only returned to its normal height.

12. Limits

  • Scale. Three screens, one axis, one designer – the author of the model. No time was measured, so there is no claim of speed.
  • The accepted build. The rules came from correcting the very build the runs are compared with, so the runs with rules were bound to land nearer to it.
  • The LLM. The accepted build was made with Claude Fable 5.2, and the runs used Claude Opus 5.5: a clean context and a change of model are mixed.
  • Memory. I can’t confirm that the LLM’s memory was off in the clean sessions. What I know is that every run in a test got the same input – byte for byte in the test of derivation.
  • Coverage. Three of the eight rules were not tested by the runs without rules, because their consequences were already in the input. Three runs per group is a small sample.
  • The new screen. No runs without the rules to compare with, and no accepted build, only my judgment. The description of the screen was partly written by the agent before I edited it, and the package contradicted itself in one place: it asked for a new button in the stops panel and forbade changing that panel.
  • The working process. In the sessions where the screens were built, the agent had the whole conversation. Nothing from those sessions is counted as proof.

Where this may lead – interfaces generated from a direction, interfaces driven by a signal instead of a mode switch – is in the article Parametric Interface Model. None of it is measured here.

Explore other domains