Skip to content

AI, explained through experiments

Understand AI.
Try it with your own hands.

Explore artificial intelligence through visual experiments you control. See how it learns, works with words, and makes pictures. Start with a guided experiment—no math or coding needed.

Free to explore · no account needed · learn at your own pace

Start here · about 5 minutes

From a little noise
to a lighthouse.

Move a slider and watch an AI-generated picture take shape. Then change the starting noise and see why the same words can lead to a different image.

We’ll guide you through what to try, what to notice, and what it means.

Open the guided experiment
Colored static at the start of a Stable Diffusion run
01 / Starting noise
The finished painting of a lighthouse on a rocky coast at sunset
02 / Finished image

Follow your curiosity

Pick a question. Open an experiment.

New to AI? Diffusion and computer vision both include a guided introduction. Try the controls, read the explanations, and explore the technical details when you’re ready.

A note from the builder

Built to make the ideas stick.

I’m James Caldwell. I built Perceptron Lab while revisiting machine learning and exploring AI image tools. The ideas made more sense when I could change something and see what happened.

It began with two confusingly similar names: “nearest-neighbor” image scaling and “nearest neighbors” in machine learning. That story became a lesson of its own. This site is my growing collection of experiments for fellow learners—whether you’re meeting these ideas for the first time or coming back to them.