class_docstr: OpenSimplex n-dimensional gradient noise functions.
class_docstr_tok: ["OpenSimplex","n-dimensional","gradient","noise","functions","."]
code: def _extrapolate2d(self, xsb, ysb, dx, dy):
      perm = self._perm
      index = perm[(perm[xsb & 0xFF] + ysb) & 0xFF] & 0x0E
  
      g1, g2 = GRADIENTS_2D[index : index + 2]
      return g1 * dx + g2 * dy
  
file_path: imgaug/imgaug/external/opensimplex.py
imports: import sys
  from ctypes import c_long
  from math import floor
label_desc: Use image node_id 2 for calling the OpenSimplex obj's underlying member method code with example usage: obj._extrapolate2d(xsb, ysb, dx, dy) and returns: unknown