Studio Yotsuba
Back to Node List

Region Warp

region_warp

Wobbles region borders so machine-straight splits turn hand-drawn and organic. A finishing touch after cells or bands

Reviewed
Guide available

Input Ports

NameTypeDescription
Regions
regions
RegionMap
Required
RegionMap to warp
Guide
guide
Image
Optional image guide used by Image mode

Output Ports

NameTypeDescription
Regions
regions
RegionMap
Warped RegionMap
Preview
preview
Image
Color preview of warped regions
Labels
labels
Map
UI overlay label positions for the inspector

Parameters

NameTypeDefaultRangeDescription / Options
Source
source
Enum
Noise—

Warp source

  • NoiseNoise
    Use internal smooth noise
  • ImageImage
    Use the guide image luminance
Amount
amount
Int
30–32

Maximum displacement in pixels

Scale
scale
Float
161–128 / step 1

Noise feature size

Iterations
iterations
Int
11–8

Repeat the warp for stronger displacement

Seed
seed
Int
10–99999

Noise and preview seed

Show IDs
show_ids
Bool
false—

Show region id labels on the inspector preview

Overview

Adds a hand-drawn feel by perturbing RegionMap boundaries with noise. Generated regions tend to have geometric boundaries; even a slight distortion greatly improves the natural appearance of rock, soil, and water.

It distorts RegionMap boundaries with internal noise or a guide image. Use it to add natural variation to overly regular cells and strata.

Usage tips

  • Place it immediately after generation: region_bands / region_cells → region_warp → region_fill. Start with a restrained displacement of 2–4 pixels.
  • Strong distortion can break thin regions apart. If that happens, clean them up downstream with region_merge_small.
  • Guide Image mode is an advanced option for controlling the distortion direction. Internal Noise is sufficient in most cases.

Related nodes

  • region_bands / region_cells / region_strata — sources to distort
  • region_merge_small — cleans up after distortion
  • region_fill / region_border — finishing fill and lines

Key parameters

ID Contents
source Noise uses internal noise; Image distorts using brightness differences in the guide image
amount Maximum displacement in pixels
scale Noise size
iterations Number of distortion passes
seed Seed for noise and preview colors
show_ids Display ID labels in the Inspector preview

Horizontal and vertical wrapping on the RegionMap are preserved. In a wrapped direction, references across the edge also wrap around.

How to use

Insert this after Region Cells or Region Bands when the boundaries look too regular. Start with a small amount, then increase iterations if needed. Strong settings easily damage thin regions and small islands, so a downstream Region Merge Small makes the result easier to handle.

With source = Image, brightness differences in the guide input inform the distortion direction. When no guide is needed, source = Noise is the stable choice.

When source = Image and guide is unconnected, the node returns the RegionMap unchanged and displays a warning. Connect a guide or switch back to Noise to clear the warning.

This node edits regions to introduce natural variation. To increase the number of regions, use an upstream generator or Region Split Islands / Region Compose.

Back to Node List