About TwiddleLab
TwiddleLab is a free website where you learn AI, Math, Code and Physics by playing with small interactive toys. You train a tiny neural network, drag a graph, wire a circuit or build a program, and only then does the idea get its name and its formula.
Right now 30 courses and 319 lessons are open:
- Artificial Intelligence: How a Neural Network Thinks, How Language Models Work, Learning From Data, How Machines See and Hear, Search, Games and Plans, AI and Us: Using AI Well, Learning by Reward, Inside Deep Learning, Generative AI: Making New Things
- Math: Functions You Can See, Algebra in Motion, Probability by Simulation, Growth: Exponents and Logs, Vectors and Matrices, Shapes and Proof, Counting and Patterns, Trig and Waves
- Code: How a Programmer Thinks, Build with Python, How Computers Store Everything, Algorithms in Motion, Recursion: Functions That Call Themselves, Data Structures You Can See
- Physics: How Things Move, Forces: Why Things Move, Energy: The Universe's Currency, Waves and Sound, Circuits You Can Build, Light and Sight, Gravity and Orbits
Start the first lesson: it takes about 5 minutes and needs no account.
Questions and answers
What is TwiddleLab?
TwiddleLab is a website with short interactive lessons in four tracks: Artificial Intelligence, Math, Code and Physics. Every lesson is built around one toy you can touch. You guess, drag and break things first, then the lesson names what you saw and gives you a few problems to use it.
Who is TwiddleLab for?
Teens aged 13 and up, high school students and curious adults. You do not need a strong math background: every track has beginner courses, and a course that builds on another one says so with a 'Best after' hint instead of locking you out.
Is TwiddleLab free?
Yes. Every open lesson is free to play, and your first lesson needs no account and no email. Your progress is saved in your browser.
How long is a lesson?
Five to eight minutes. One idea, one toy, no walls of text. A course is 8 to 12 lessons.
What can I learn about AI?
How a neural network learns from examples, how language models like ChatGPT pick the next word, how image recognition works, search and agents, and how AI affects people. You train real small models right in the browser and then try to fool them.
What math, code and physics topics are covered?
Math: functions and graphs, slope, algebra, probability and statistics, vectors and more. Code: exact instructions, loops, conditions, functions and data, with programs you build and run. Physics: motion, forces, energy, circuits, waves and orbits, with simulations you control.
Do I need to install anything?
No. TwiddleLab runs in the browser on phones, tablets and computers.
How is TwiddleLab different from video courses?
There are no videos to watch. You do the thing first and see why it works. Wrong answers get a hint, never a red cross.
How is TwiddleLab different from Brilliant?
Both teach with interactive lessons. TwiddleLab is free, needs no account to start, puts a playable toy at the center of every lesson and has a separate AI track that explains neural networks and language models from zero. See the comparison page.
Which languages are available?
English and Russian. Switch the language at the bottom of any page.
Can kids under 13 use it?
They can explore lessons in the browser. TwiddleLab does not create accounts for anyone under 13 and does not send their data to its servers. See the privacy policy.
How do I contact TwiddleLab?
Write to hello@twiddlelab.com.