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
| Act | What you can do |
|---|---|
| Eyes | Write a digit or a letter and see what the reader makes of it. A challenge mode asks you for a letter within 12 seconds. |
| Imagine | Order a letter and watch the AI draw it from noise in about 28 steps. Mix two handwriting styles, and rewind time with the slider. |
| Continue | Write half a letter and stop. The AI imagines three ways to finish it. |
| Touch-up | Scribble a messy letter and let the AI rescue it, with a strength slider. |
| Words | Type a word and the AI writes it in its own handwriting. |
| Fooling | Change a letter by an almost invisible amount until the AI reads a different one, and see whether a second AI is fooled too. |
| Dream wall | Many 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
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.