Capítulo 909 de 988

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

  1. Understand api when working with noise2D().
  2. Understand seed when working with noise2D().
  3. Understand x when working with noise2D().
  4. Understand y when working with noise2D().
  5. 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.