Reshapes an incoming curve: scales its frequency and amplitude, shifts it, or flips it upside down.
When to Use
Use Adjust Curve to fit an existing curve to a value range or repeat rate without rebuilding it:
- Fitting a value range: To fit a curve that swings from -1 to 1 (such as a default Sinusoidal or Cnoidal Curve) into the 0-1 range, set Scale Amplitude to 0.5 and Offset Amplitude to 0.5.
- More repetitions: Use Scale Frequency to make a terracing curve repeat more times across your terrain without rebuilding the source curve.
- Complementary shapes: Invert curve combined with an amplitude offset is a quick way to create the complementary shape of any curve, useful for generating matching masks.
How to Use
Connect a curve, for example from a Sinusoidal Curve or Cnoidal Curve, to the Primary Input, and use the output wherever you would have used the original curve. At the default settings the curve passes through unchanged.
- Use Scale Frequency and Offset Phase to change how often the curve repeats and where it starts.
- Use Scale Amplitude and Offset Amplitude to fit its values into the range you need.
- Enable Invert curve to swap its peaks and troughs.
Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| Primary Input | Curve | Yes | The curve to adjust. |
Outputs
| Port | Type | Description |
|---|---|---|
| Primary Output | Curve | The adjusted curve. |
Parameters
Scale Frequency — Multiplies the input domain (the “x” axis) of the curve. Values greater than 1.0 compress the curve horizontally, making it repeat more often within the same domain. Values less than 1.0 stretch it out. Range: 0 to 64 (logarithmic slider). Default: 1.0.
Offset Phase — Shifts the curve left or right along the domain axis. Positive values shift the evaluation point forward; negative values shift it back. Range: -2.0 to 2.0. Default: 0.0.
Scale Amplitude — Multiplies the output values (the “y” axis) of the curve. Values greater than 1.0 increase the curve’s vertical extent; values less than 1.0 reduce it. At 0, the curve output is flat (only the offset remains). Range: 0 to 64 (logarithmic slider). Default: 1.0.
Offset Amplitude — Adds a constant value to the curve’s output, shifting it up or down. Range: -1.0 to 1.0. Default: 0.0.
Invert curve — When enabled, flips the curve vertically around the zero line before applying amplitude scaling and offset. Peaks become troughs and troughs become peaks. Default: off.
Tips and Tricks
- The transformations are applied in this order: frequency scaling and phase offset first (modifying the input position), then inversion, then amplitude scaling, and finally the amplitude offset. Understanding this order helps when stacking multiple adjustments.