#include <acl.c> void aMain() { AWindow *w = aOpenWin(256, 256, "gradation", 1); int x, y; for (y = 0; y < 256; y++) { for (x = 0; x < 256; x++) aSetPix0(w, x, y, aRgb8(y, x, 0)); } aWait(-1); }