---
title: "Quickstart"
description: "Make a project in Tato Studio, play it, drop in a node, connect its pins, change it while it runs, and write a node of your own. About five minutes once Tato is installed."
type: "docs-page"
url: "https://tatolab.com/docs/quickstart"
site: "Tatolab"
section: "Start here"
---

# Quickstart

> Make a project in Tato Studio, play it, drop in a node, connect its pins, change it while it runs, and write a node of your own. About five minutes once Tato is installed.

You'll make a project in Tato Studio, play it, drop a node into its stream and connect it, change it while it runs, then write a node of your own.

![What you'll build: the test pattern, through a Pixelate node, into Studio's Node visualizer.](https://tatolab.com/media/docs/quickstart-light.jpg)

## Before you start

You need Tato Studio installed: see [Install Tato](https://tatolab.com/docs/install). Studio runs the runtime while it's open, so there's nothing else to start. You don't need Python or a camera: the runtime brings its own Python, and a new project starts from a test pattern.

## 1. Make a project

Open Tato Studio. In the Projects window, press **New project** (⌘N), name it `my-stream`, and press **Create**.

Studio makes the project's folder in `Documents/Tato Studio/` and opens it. The first time, the runtime sets up the project's Python environment, which takes a moment. The project has one stream, `my-stream`, open in the **Stream graph**, with one node, `testpatternsource`, the test pattern.

## 2. Play it

Press **Play** at the top of the window, or F5. Click the test pattern's card: the **Node visualizer** shows its picture, colour bars with a potato bouncing around them.

The visualizer reads the node's output on this machine, straight from the GPU, with no copy and no encoding.

## 3. Drop in a node and connect it

Drag a wire off the test pattern's `video` pin and let go over empty graph. The Add node search opens, showing only nodes that take a picture. Type `pixelate` and press Enter: a **Pixelate** node is placed on the end of the wire, already connected.

Click Pixelate's card. The visualizer now shows its output: the picture, in blocks.

You can add any node the same way with nothing selected: click the graph, press **Tab**, and search. Pixelate is one of the **core nodes** every project has: numbers, colours, filters, compositing and more.

## 4. Change it while it runs

Pixelate's `cells_across` input shows its value on the card, `64`. Drag it, or click it and type `16`. The picture follows as you drag.

Every pin has one type, shown by its name and its colour: `video` and `image` carry pictures, `cells_across` a number. A wire only joins pins whose types fit, and an input with no wire into it holds a value you set right on the card. Select a node to see all its inputs and settings in **Properties**.

Each edit is applied to the running stream and saved with the project. **Edit › Undo** (⌘Z) takes it back.

## 5. Write a node

Open the **Files** view from any area's view menu, press **New node file**, and name it `nodes/scanlines.py`. The file opens in the **Code** view. Replace what's there with:

```python title="nodes/scanlines.py"
from tatolab.stream import ImageFrame, node


@node.meta(category="Effects", description="Darkens every other band of rows.")
@node.shader(
    """
float4 Scanlines(ImageInput image, float bands, float depth)
{
    float stripe = step(0.5, frac(image.uv.y * bands));
    return float4(image.pixel.rgb * (1.0 - depth * stripe), image.pixel.a);
}
"""
)
def Scanlines(image: ImageFrame, bands: float = 120.0, depth: float = 0.4) -> ImageFrame: ...
```

and save with ⌘S. This is a **shader node**: the Python signature declares its pins, a picture in, two numbers, and a picture out as `result`, and the Slang function, named for the node, computes each pixel on the GPU.

Drag a wire off Pixelate's `result`, search for **Scanlines**, and place it. Select it: the visualizer shows scanlines over the blocks. Drag `depth` to `0.8`, or change the Slang and save again: Studio reloads the project, and the picture follows.

If something doesn't load, the node's card says why, and the project's log under the Code view has the rest. Fix it and save again.

## 6. Leave it, or stop it

Press **Stop** (Shift-F5) to end playback; the graph stays open to edit. Closing the project's window stops and closes the project, and everything you did is saved: open it again from the Projects window. If you quit Studio instead, a project that's playing plays again the next time Studio starts.

## What just happened

- **A project** is a folder. Studio made it, with one **stream**: a graph of **nodes** joined by wires between their pins.
- **The runtime** played it. A project plays, pauses and stops as a whole.
- **Each edit** you made, a node placed, a wire drawn, a value changed, went to the runtime, which applied it to the running stream and saved it in the project's folder.
- The test pattern is a **process node**, a Python class that runs in a process of its own. Pixelate and Scanlines are **shader nodes**, which run on the GPU with no process at all.

## Next steps

- [The tutorial](https://tatolab.com/docs/tutorial): build two projects that share data, add modules from the Marketplace, and build with an agent.
- [A tour of Tato Studio](https://tatolab.com/docs/studio): every view, menu and setting.
- [Build a graph](https://tatolab.com/docs/studio/graph): everything about nodes, pins and wires.
