Guest User

Untitled

a guest
Nov 16th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. def f1():
  2. Picture = makeEmptyPicture(256,256)
  3. for colum in range(0,256):
  4. for row in range(0,256):
  5. px=getPixel(Picture,colum,row)
  6. xPos = getX(px)
  7. setRed (px,255-xPos)
  8. setGreen (px,0)
  9. setBlue (px,0)
  10. colour= getColor(px)
  11. show(Picture)
Add Comment
Please, Sign In to add comment