Munching squares: Difference between revisions
Content added Content deleted
Line 246: | Line 246: | ||
for( int x = 0; x < BMP_SIZE; x++ ) |
for( int x = 0; x < BMP_SIZE; x++ ) |
||
{ |
{ |
||
int c = ( x ^ y ) % |
int c = ( x ^ y ) % 256; |
||
SetPixel( dc, x, y, clrs[c] ); |
SetPixel( dc, x, y, clrs[c] ); |
||
} |
} |