PerlinNoise2

from panda3d.core import PerlinNoise2
class PerlinNoise2

Bases: PerlinNoise

This class provides an implementation of Perlin noise for 2 variables. This code is loosely based on the reference implementation at https://mrl.nyu.edu/~perlin/noise/ .

Inheritance diagram

Inheritance diagram of PerlinNoise2

__init__(*args, **kwargs)
assign()

C++ Interface: assign(const PerlinNoise2 self, const PerlinNoise2 copy)

noise()

C++ Interface: noise(PerlinNoise2 self, const LVecBase2d value) noise(PerlinNoise2 self, const LVecBase2f value) noise(PerlinNoise2 self, double x, double y)

/**
  • Returns the noise function of the three inputs.

*/

/**
  • Returns the noise function of the three inputs.

*/

/**
  • Returns the noise function of the three inputs.

*/

setScale()

C++ Interface: set_scale(const PerlinNoise2 self, const LVecBase2d scale) set_scale(const PerlinNoise2 self, const LVecBase2f scale) set_scale(const PerlinNoise2 self, double scale) set_scale(const PerlinNoise2 self, double sx, double sy)

/**
  • Changes the scale (frequency) of the noise.

*/

/**
  • Changes the scale (frequency) of the noise.

*/

/**
  • Changes the scale (frequency) of the noise.

*/

/**
  • Changes the scale (frequency) of the noise.

*/

set_scale()

C++ Interface: set_scale(const PerlinNoise2 self, const LVecBase2d scale) set_scale(const PerlinNoise2 self, const LVecBase2f scale) set_scale(const PerlinNoise2 self, double scale) set_scale(const PerlinNoise2 self, double sx, double sy)

/**
  • Changes the scale (frequency) of the noise.

*/

/**
  • Changes the scale (frequency) of the noise.

*/

/**
  • Changes the scale (frequency) of the noise.

*/

/**
  • Changes the scale (frequency) of the noise.

*/