public Channel xsine(int frequency) { for (int y = 0; y < height; y++) { for (int x = 0; x < width; x++) { putPixel(x, y, (float)Math.Sin(2*Math.PI*(((float)x/width)*frequency + getPixel(x, y)))); } } return this.normalize(); }