Getting Started

Polygonjs works entirely with nodes. So let's see how we use them.

Creating Nodes

Simply click on the + Add Node button, or press the Tab key to have a menu show up. You can directly select a node, or you can also narrow down that list by typing the first letters of the node you are looking for.

Nodes are not all in a flat hierarchy. They can also be inside each other. In this case, we go from the root level to inside the node /geo1.

When you see a node with a down arrow next to it, it means you can enter it and create other nodes inside it. Once inside you also see an up arrow to go back up. Node that you can also type the keys u and i (for 'up' and 'in'), and double click on a node to go in.

Set The Display Flag

Once inside /geo1, you can have hundreds of nodes, but the ones that will display in the viewport will be the one with the display flag.

This allows you to create different branches, experiment with other techniques, and quickly switch between them.

Bypass Nodes

A good way to experiment quickly as well is to quickly bypass a node you don't want to affect your scene.

Changing parameters

Each node will have a set of parameters you can edit. You can change them either by:

  • typing a value.

  • using the simple slider or the gradual one.

  • typing an expressions.

So that's really the gist of it. All you do is connect nodes and change parameters.

Let's see now how you can export your scene to display on your own website.