# Voronoi

Voronoi diagrams are used to create cell-like or network-like patterns. A diagram is based on an (infinite) number of control points, that are randomly distributed in space. For any point in space, a set of several closest control points can be determined.

Voronoi noise generator can be used in different ways where the output value at a defined coordinate is:

- Flat : fills all of the closest pixels with the cell point’s value.
- Closest : fills the pixels with the distance to the closest point value.
- Second closest : same as Closest, except the distance to the second closest point is computed.
- Cellular : distance to the second closest point minus the distance to the closest point.
- Organic : distance to the second closest point plus the distance to the closest point.

## Node inputs/outputs

The module’s constructor needs:

- Frequency : the higher the frequency, the closer together this noise module places the seed points, which reduces the size of the cells.
- Multiplier : each output value will be multiplied by this variable. It defines the range of output values.
- Type : as explained in the section above, you can choose between 5 differents voronoi types.
- Seed

Frequency = 1

Frequency = 5

Frequency = 10

### CLOSEST

Frequency = 1

Frequency = 5

Frequency = 10

### SECOND CLOSEST

Frequency = 1

Frequency = 5

Frequency = 10

### CELLULAR

Frequency = 1

Frequency = 5

Frequency = 10

### ORGANIC

Frequency = 1

Frequency = 5

Frequency = 10