Chapter 909: noise2D()
Core Idea
_Part of the @remotion/noise package.
Key Concepts
- API
- seed
- x
- y
- Return value
- Example
- Credits
- See also
Code Examples
const x = 32;
const y = 40;
console.log(noise2D("my-seed", x, y)); // a number in the interval [-1, 1] which corresponds to (x, y) coord.
- What it demonstrates: Usage pattern for noise2D() from the official docs.
Key Takeaways
- Understand api when working with noise2D().
- Understand seed when working with noise2D().
- Understand x when working with noise2D().
- Understand y when working with noise2D().
- Understand return value when working with noise2D().
Connects To
- Noise 3d: related page in the Noise (@remotion/noise) section.
- Noise 4d: related page in the Noise (@remotion/noise) section.