code: private int[] changeColor() {
          int[] changedPixels = new int[pixels.length];
          double frequenz = 2 * Math.PI / 1020;
  
          for (int i = 0; i < pixels.length; i++) {
              int argb = pixels[i];
              int a = (argb >> 24) & 0xff;
              int r = (argb >> 16) & 0xff;
              int g = (argb >> 8) & 0xff;
              int b = argb & 0xff;
  
              r = (int) (255 * Math.sin(frequenz * r));
              b = (int) (-255 * Math.cos(frequenz * b) + 255);
  
              changedPixels[i] = (a << 24) | (r << 16) | (g << 8) | b;
          }
  
          return changedPixels;
      }
docs: changes the color of the image - more red and less blue
  
  @return new pixel array