get method

double get(
  1. int x,
  2. int y
)

Implementation

double get(int x, int y) => cache[((y % height) * width) + (x % width)];