for (int x = 0; x < WIDTH; x++){
for (int y = 1; y <= HEIGHT; y++){
colormap[x + (HEIGHT - y)*WIDTH] = Color.HSBtoRGB(((float) x)/HEIGHT, ((float) y)/WIDTH, (float) 0.75);
}
}
col = createImage(new MemoryImageSource(WIDTH, HEIGHT, colormap, 0, WIDTH));
}