Panache 中文

Homework on a photographed page

For handwritten homework to look natural, the writing cannot simply be stamped onto a photo. Each line has to start at the left end of its rule, tilt with the camera angle and soften where the photo falls out of focus. Table rules need to sit between the printed lines, and the arrows in a flowchart and the parts of a circuit should look as if the same pen drew them.

An AI client wrote all four samples below with Panache on phone photos of homework paper. The font is 李国夫手写体 (Li Guofu handwriting).

Process state diagram Banker's algorithm
Process state diagram with step-by-step notes on a photo of ruled paper, each row sitting on a ruled line Banker's algorithm allocation table and safe-sequence working on a photo of ruled paper, table rows aligned with the ruled lines

Every line starts on a rule

Photos of paper are rarely square. Panache finds the printed lines, then sets each row along that line's own start, end and bends. Spacing and letter height follow the rows, so nearer lines are wider and farther ones narrower. After layout, each line is checked for ink touching the printed rules.

Diagrams in the same pen

Tables, flowcharts and circuits are not pasted images. The handwriting engine draws them with the stroke width of the body font, with a slight wobble along each line. Node labels, component values and the Ω and μ in units use the same hand.

Flowchart close-up Circuit close-up
Flowchart close-up: nodes, arrows and labels follow the paper's perspective Circuit close-up: switch, resistor, capacitor and source between the dotted lines

Ink that belongs in the photo

New writing can follow the surrounding paper tone and sharpness. The ink matches the local light and softens in out-of-focus corners, while the original photo stays unchanged. Before exporting, the two-point gradient in PNG finish can fade the whole page from sharp to soft.

To try it in the workbench, see Write on paper you photograph. To let an AI client do it, see Connect an AI client.