Computer Science · Interactive demo
How does an AI chatbot pick its next word?
Move temperature and a deterministic sample point to see illustrative next-token logits become narrow or surprising probabilities.
Created by ExplainerTools.
What you’ll explore
This interactive demo gives you a visual way into computer science. The key ideas include language models, tokens, softmax, temperature.
Continue learning
- Induction heads in language models by Tiberiu Mușat
- Why do AI agents need tools? by ExplainerTools
- What Happens When You Send a Prompt by Ryan Sael
- Introduction to the A* Algorithm by Amit Patel · Red Blob Games
- Making Maps with Noise Functions by Amit Patel · Red Blob Games
- 2D Visibility by Amit Patel · Red Blob Games
Explore interactive ideas in space, science, math, and more. Try a demo, read an interactive article, watch a short video, and follow what makes you curious.
New Originals
Change one thing and see why.
The three newest models, each with a short film. Watch the question, then play with the answer.
Follow your curiosity
A collection of small doors into big ideas.
Swipe or scroll for more formats →
Swipe or scroll for more subjects →
Swipe or scroll for more topics →
Make something click.
Made an explainer, or found one you love? Give it a place in the collection.


