Advertisement
xeromino

Steve Buscemi, cascading

Oct 4th, 2013
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.25 KB | None | 0 0
  1. PImage img1;
  2. float x, y;
  3.  
  4. void setup() {
  5.  
  6.   img1 = loadImage("steve.jpg");
  7.  
  8.   size(img1.width, img1.height);
  9.  
  10.   for (int i = 0; i < 20; i += 1) {
  11.     image(img1, x, y);
  12.     x += 10;
  13.     y += 10;
  14.     scale(0.97);
  15.   }
  16. }
  17.  
  18. void draw() {
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement