Guest User

Untitled

a guest
May 26th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. size(100, 100)
  2. speed(3)
  3. c = ximport("colors")
  4.  
  5. def draw():
  6. cs = c.list('oppai.jpg', n=100)
  7. x = y = 0
  8. for color in cs:
  9. rect(x, y, 10, 10, fill=color)
  10. x += 10
  11. if x >= 100:
  12. x = 0
  13. y += 10
Add Comment
Please, Sign In to add comment