Aspect ratio calculator / AI in the Letters 2

AI in the Letters 2

An AI that reads your handwriting, then draws letters out of pure noise, with every pixel printed as a text character.

Interactive scene · 2026 · All animations

Follow the eight acts with the bar at the top or the Next act button. Also in Korean. It looks best in full screen. Free to view, take and embed.

What it is

AI in the Letters 2 runs two real neural networks inside your browser: a reader that recognises handwritten digits and letters, and a diffusion model that draws them from noise. It has no images, no video and no server. Every picture is printed as ASCII characters, and the trained weights are part of the one HTML file.

It is a toy of about a million parameters, not a modern image model, but it works on the same principle: start from noise, multiply and add numbers, and pull a letter out of it. It is split into eight short acts.

How to use it

ActWhat you can do
EyesWrite a digit or a letter and see what the reader makes of it. A challenge mode asks you for a letter within 12 seconds.
ImagineOrder a letter and watch the AI draw it from noise in about 28 steps. Mix two handwriting styles, and rewind time with the slider.
ContinueWrite half a letter and stop. The AI imagines three ways to finish it.
Touch-upScribble a messy letter and let the AI rescue it, with a strength slider.
WordsType a word and the AI writes it in its own handwriting.
FoolingChange a letter by an almost invisible amount until the AI reads a different one, and see whether a second AI is fooled too.
Dream wallMany letters being generated at once.

How to take it

Press Download the HTML file above to get ai-in-the-letters-2.html, or press Copy the code and save it as a file ending in .html. It is one file.

View the code
Loading…

Embed it on your page

<iframe src="https://aspect.tools/ai-in-the-letters-2-play" style="border:0;width:100%;max-width:1180px;aspect-ratio:16/10" title="AI in the Letters 2, playable preview" loading="lazy"></iframe>

License and credit

MIT License. AI in the Letters 2 is free to use, change, share, embed and sell things made with it, for personal or commercial work. Keep the license notice that is at the top of the file.
AI in the Letters 2, 2026, by aspect.tools (https://aspect.tools/ai-in-the-letters-2)

A visible credit is appreciated but not required.

Questions

Is anything sent to a server?

No. The networks run in your browser and nothing you write leaves your device.

Is it a real AI?

Yes, a very small one. The reader and the drawer are real trained networks, but they only know digits and the 26 letters, drawn on a 16 by 16 grid.

Why is the file big?

The trained weights are stored as numbers inside the HTML file, which makes it about 1.6 MB.

Can I use it in my own project?

Yes. It uses the MIT License, so you can use it in personal and commercial work, embed it and change it. Keep the license notice at the top of the file.

Related tools and guides