Master Thesis Procedural Modeling with Nodes

Node editor prototype for procedural modeling with a letter Q built from primitives

In a procedural modeling editor, the first hurdle is knowing what connects to what. If you cannot tell which socket accepts a shape or which direction data flows, you can get stuck before anything appears in the viewport. For my master's thesis in Human-Computer Interaction at LMU Munich, I built a working node editor to test how the interface could help people learn to build a graph.

Testing help where users need it

I compared four forms of guidance: directional sockets, feedback while dragging a connection, node descriptions, and suggestions for what to connect next. Each could be switched on or off independently in a factorial experiment. I built the editor in React, with three.js for the viewport and OpenCascade compiled to WebAssembly for geometry operations. The examples below show the choices participants encountered while building a model.

Node graph combining two cylinders and a box into the letter Q next to the task goal and the resulting 3D model

Task: Modeling a Letter

A modeling task as the participants saw it: the goal is to build the letter Q, the graph on the left combines two cylinders and a box using Difference, Rotate, Translate and Union, and the viewport shows the resulting model. The task needs a working mental model of the graph, not just of a single node.

Node editor with typed sockets, colour-coded node categories, all-nodes drawer and 3D viewport

The Editor

Nodes are grouped by category and encoded in colour: geometry (green), operations and transforms (purple) and numbers (blue). Sockets are typed — green carries shapes, blue carries numbers — so incompatible connections are rejected rather than producing a broken graph. Below the canvas an All Nodes drawer lists every available node, and the toolbar covers undo, redo, reset, save and load.

Two variants of a node connection: round sockets without direction and triangular sockets showing data flow

Connection Directionality

The first variant under test. On the left, plain round sockets that only show whether a connection is possible; on the right, arrow-shaped sockets that also show in which direction the data flows.

While dragging a connection, valid inputs are highlighted with triangles and incompatible inputs are marked with a red cross

Connection Feedback

The second variant. On the right, nothing indicates what a dragged connection could attach to; on the left, compatible inputs are highlighted while dragging and incompatible ones are marked with a red cross, so an illegal connection is visible before it is made.

Toolbar hover showing only a node name on the left and a full node preview with description on the right

Node Descriptions

The third variant compares two levels of information in the palette: on the left only the node name on hover, on the right a preview of the actual node — its sockets and parameters — together with a short description of what it does.

Toolbar listing suggested nodes next to a connection, shown in two examples

Node Suggestions

The fourth variant. Instead of expecting users to know which node comes next, the palette offers suggestions for the connection or socket the cursor is on, so a graph can be built without searching the node list. Both screenshots show the same feature in two situations.