docs · 01
Getting started
Open Playfield, pick a way in, change a slider, add a node and save your first graph.
Playfield is a shader studio you build with nodes. A shader is a small program that works out the colour of every pixel at once, on the graphics card (the GPU). In Playfield you don't write that program line by line: you wire small cards, called nodes, into a graph, and Playfield writes the shader for you. The picture it makes is always on screen and changes as you work.
Open Playfield
- In your browser: go to app.playfield.cc. Nothing to install.
- On a Mac: download the app. It is the same Playfield, in its own window.
Pick a way in
The first time you open Playfield, the Start sheet offers four ways in:
- Scene builder: describe a scene with a short form (2D, 3D, agents, grids and more) and get a real node graph back.
- Getting started: a short lesson inside the app: nodes, wires, sliders and saving.
- Blank graph: just UV and the Output, to build from nothing.
- An example: a finished graph to take apart. Every node in an example carries a note saying what it does.
Help → Start brings the sheet back at any time.
Change a slider
Any input with no wire shows a slider on its card. Drag it and the picture follows at once. Hold Shift for fine steps. Typing a number past the end of a slider's range widens the range.
Add a node and wire it
- Press A and type a name, such as circle.
- Or open the Nodes tab in the sidebar: click a node to preview it, double-click to add it, or drag it onto the canvas.
A wire carries a value from an output (the dots on a card's right edge) to an input (on its left edge). Drag from an output to an input: the inputs that can take it light up. Click a wired input to remove its wire. Every graph ends at the Output card, whose input is the colour of each pixel.
Save your work
Graphs are saved on your device: in the browser you use, or on your Mac in the desktop app. Nothing is sent to us.
- Press ⌘S, or the Save button (the disk) in the top bar.
- Type a name and press Save.
- Next time, ⌘S saves a new version straight away, so you can always go back.
Next
- The Studio: nodes, wires, sliders and the code they make.
- Distance: the single most useful idea in shaders.
- Time and dt: how to make motion look the same on every screen.