Paper to Board Back to the paperChecking this browser

Technology

One call. Two places.
The code decides.

Gemini Nano in Chrome reads your sketch while you draw, free and on this computer. Gemini in the cloud reads photos and checks the finished drawing. Plain code, never a model, decides whether the circuit is safe and where every part goes.

How a drawing becomes a board

1Your drawing

A sketch on the pagesent as a PNG each time the pen pauses
A photo of paperJPEG or PNG, from the camera or a file

2Firebase AI Logic firebase/ai

Live readPREFER_ON_DEVICE
Gemini Nano in Chromeno model:gemini-3.5-flash-lite
The parts in order, as JSON
Whole circuitONLY_IN_CLOUD
gemini-3.8-flash, low thinking
Every part, pin and wire, as a netlist. Runs for a photo, 3 s after the pen rests, when the device says the drawing is beyond it, or when you ask.
ExplainPREFER_ON_DEVICE
Gemini Nano, streamedelsegemini-3.5-flash-lite
What the circuit does, in 11 languages

App Check guards every cloud call. No key in the page.

3Plain code decides

  1. Parse the JSON against the schema
  2. Solve every current by nodal analysis
  3. Check current, polarity, shorts, ratings, chips and boards
  4. Place each part on the breadboard
  5. Write the steps and the parts list

TypeScript, 155 tests. The same drawing always gives the same board.

4On the page

GOCHECKSTOP
The board, step by stepread aloud if you like
Every reading labelledthis computer or the cloud, and how long it took

Offline. A service worker keeps the page, so the device read, the check and the board work with no connection.

On the iPhone, the same four steps: Apple's on-device model, Firebase AI Logic for iOS, App Attest, and the engine in Swift.

3 to 4 sa read on this computer, 21 Nov 2026
21 of 21photos of real paper read right in the cloud, median 2.9 s
155 testson the code that decides
About €0.0001a cloud read; a read on the device is free

One call, two places

getGenerativeModel(ai, {
  mode: InferenceMode.PREFER_ON_DEVICE,
  inCloudParams: {
    model: 'gemini-3.5-flash-lite' },
})

Gemini Nano answers when Chrome has it; otherwise the same call goes to the cloud. Each reading is labelled from inferenceSource.

The whole circuit in the cloud

mode: InferenceMode.ONLY_IN_CLOUD,
model: 'gemini-3.8-flash',
thinkingLevel: ThinkingLevel.LOW,
responseSchema: netSchema

For photos, finished sketches and chips, boards or branches. Both model names come from Remote Config, so a retired model can be swapped without a deploy.

The model reads, the code decides

const v = check(circuit);
v.level  // 'go' | 'warn' | 'stop'

Models only turn a picture into JSON against a schema. The solver, the rules, the board and the steps are TypeScript with tests.

Live reads stay free

A class of thirty drawing makes thousands of reads an hour, free on the device. The cloud checks once you stop, at most every 15 s.

No key in the page

App Check is enforced: reCAPTCHA Enterprise on the web, App Attest on the iPhone. A call without a valid pass gets a 401.

Works offline

After one visit the page opens with no connection. The device reads, and the check and the board still work.

Each job, and where it runs

JobModeWhy
Reading the sketch after every pausePREFER_ON_DEVICEFree, a few seconds, no connection needed.
Reading a photo of paperONLY_IN_CLOUD; the device when offlineThe cloud read 21 of 21 test photos right; the phone's model 5 of 12, so a device read of a photo says to check it.
Checking the finished sketchONLY_IN_CLOUD, 3 s after the pen restsA stronger second read, at most every 15 s. Where it differs, its reading is shown.
"Read it in the cloud"ONLY_IN_CLOUDA second opinion when you ask.
Explaining the circuitPREFER_ON_DEVICE, per languageThe device writes the languages it knows; the cloud the rest.
No connectionDevice onlyThe read, the check and the board all work; the cloud button waits.

On the iPhone too

The same app on iOS 27. Apple's model on the phone reads your finger drawing after every pause; photos and anything beyond one loop go to Gemini 3.8 Flash. iOS has no PREFER_ON_DEVICE switch, so the app applies the same rules itself.

  • Apple Foundation Models on the phone
  • Firebase AI Logic for iOS for the cloud
  • App Check with App Attest
  • The same engine in Swift, 76 tests
24 Nov 2026: a photo read by the phone's own model in 4.1 s. Since 26 Nov, photos go to the cloud when there is a connection.
2.5 to 4.2 sa read on an iPhone 17 Pro Max, 21 Nov 2026
21 of 21photos read right by the cloud; 5 of 12 by the phone
Get the iPhone app on TestFlight

Needs iOS 27 or later. A phone without Apple's model reads through the cloud.

Test the on-device model

This browser has no on-device model, so the test is not available here. It runs in Chrome with the built-in model; on any other browser the main page reads through the cloud instead.