Perceptron Shape Lab

Interactive neural network demo

From one line to any shape

A single perceptron neuron can only draw a straight line. Wire neurons into layers and those lines combine into polygons, holes, and smooth curves. Work through the four stages in order, or jump to any one.

Showing the output neuronPoint at the plane to read the output
class 1 (neuron fires) class 0 decision boundary first-layer lines