# include ;
# include ;
# include ;
int x,y;int gd,gm;
void main(void)
{
clrscr();
initgraph(&gd,&gm,"c:\\bc\\bgi");
for(x=0;x < getmaxx();x++)
for(y=0;y < getmaxy();y++)
{
putpixel(x,y,((x+y)-(x^y))%15+4);
}
getche();
closegraph();
}
Showing posts with label XOR - Sierpinski gasket. Show all posts
Showing posts with label XOR - Sierpinski gasket. Show all posts
Friday, July 17, 2009
Subscribe to:
Posts (Atom)