# Procedural Cellular

## Description

Generate a procedural cellular image

{% tabs %}
{% tab title="Preview" %}
![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FGwQo7kcs8mHZspXLKi7C%2FComponent-ProceduralCellular.png?alt=media\&token=a86f1a1a-2367-4632-8d1f-c7f5c021f119)
{% endtab %}

{% tab title="Location" %}
**Name** | Procedural Cellular

**Nickname** | Cellular

**Tab** | Bitmap

**Panel** | Create

**Division** | 2
{% endtab %}

{% tab title="Inputs" %}
**S** | **Seed** (*Integer*) | The seed for the noise

**W** | **Width** (*Integer*) | The width of the new Aviary Image in pixels

**H** | **Height** (*Integer*) | The height of the new Aviary Image in pixels

**D** | **Depth** (*Integer*) | The sample depth through the field

<mark style="color:blue;">**B**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">|</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Boundary Mode**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">(</mark>*<mark style="color:blue;">Integer</mark>*<mark style="color:blue;">) | The cellular boundary mode</mark>

<mark style="color:blue;">**I**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">|</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Interpolation Mode**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">(</mark>*<mark style="color:blue;">Integer</mark>*<mark style="color:blue;">) | The output interpolation sample value mode</mark>

**J** | **Jitter** (*Number*) | The pseudo randomized displacement of the noise sample points

**F** | **Frequency** (*Number*) | Scale of the sample point distribution frequency
{% endtab %}

{% tab title="Ouputs" %}
**I** | **Image** (*B+ Image*) | A Bitmap Plus Image

**N** | **Noise** (*B+ Noise*) | A Noise object for input into the Noise Fractal component
{% endtab %}

{% tab title="Mode" %}
![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FeV1ulrSGqAXPXGlo6uDD%2Fimage.png?alt=media\&token=fb42f272-523b-4276-8531-df4f25a0a55c)

**Save Image** | Opens a file save dialog to save a raster file of the current image.

**Copy Image to Clipboard** | Copies the image to the clipboard (no alpha)
{% endtab %}
{% endtabs %}

### **Boundary** Mode

<details>

<summary><strong>Boundary</strong> Mode Enumerable</summary>

* Value = 0
* Perlin = 1
* Cubic = 2
* Simplex = 3
* White Noise = 4

</details>

### **Interpolation** Mode

<details>

<summary><strong>Interpolation</strong> Mode Enumerable</summary>

* Linear = 0
* Hermite = 1
* Quintic = 2

</details>

## Usage

Adjusting the frequency changes the density of the underlying grid.

![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FKgX4EsRV5pvyhKowiBd9%2FCellularFrequency.gif?alt=media\&token=d757eddf-1e90-4c1e-8cb9-3f196d0c0dc1)

Jitter controls the amount the points move from their regular center position to random x,y,z directions

![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FtWeKalgcuoRbztiolIPx%2FCellularJitter.gif?alt=media\&token=0e52adca-3891-48ad-96e1-0eb4aa7dba15)

Depth moves in the z axis through the point field

![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FWjTlxGIv4Dva6XH2eavx%2FCellularDepth.gif?alt=media\&token=c0b05aaa-28d5-428f-ae6d-39c89cb439b7)

The boundary mode changes the way a cell region is defined from the center point relative to its neighbors.

![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2F3k4qTC9MYXfMtJmz4Xv9%2FCellularBoundary.gif?alt=media\&token=465a21d4-f110-4668-b748-36f5b6541d5e)

The interpolation mode changes the way the gradient values are calculated relative to the center and boundary.

![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2F79jGPj62yqk45vIhPY6b%2FCellularInterpolation.gif?alt=media\&token=cf9da85d-cf52-42c7-b284-36f16425a920)
