tornado

edited April 2017 in Share Your Work
int zoom=-1;
int rotation=1;
int pos=0;
int pieceSize = 32;
int i,x,y;

PImage[] images = new PImage[18*18];
PImage img1;

void setup()
{
 size(600,600);
//save("cz.png");
save("cz.bmp");
for (i=0;i<=17*17;i++)
{
  images[i]=createImage(pieceSize,pieceSize,RGB);
}

}

void draw()
{

  pos++;
  int shift=0;
  
  for (i=0;i<=4;i++)
  {
    shift=shift<<1;
    shift=shift|((pos >>i)&1);
  }

//draw random points
for(x=-1;x
Sign In or Register to comment.