Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. for(int y = 0; y < img.height; y++)
  2. {
  3. for(int x=0; x < img.width; x++)
  4. {
  5. int i = x+y*img.width;
  6.  
  7. String s = str(i);
  8.  
  9. int c = s.charAt(1);
  10.  
  11. print(c);
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement